public void ShouldVerify_Index_TwitterReferrer()
        {
            var mocks = new MockRepository();

            var service = mocks.StrictMock<IWhois>();
            var context = mocks.MockedContext("http://www.twitter.com");

            Expect.Call(service.WhoisEnhancedXml(null, null, null)).IgnoreArguments().Return(new WhoisEnhancedRecord
                                                                                                 {
                                                                                                     IsReferrerMatch = true,
                                                                                                     ReferrerMatches = new List<string> {"twitter"}
                                                                                                 });

            mocks.ReplayAll();

            var controller = new GreetingController(service);
            controller.ControllerContext = new ControllerContext(context, new RouteData(), controller);
            var result = controller.Index() as ContentResult;

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Content.Contains("Twitter"));

            mocks.VerifyAll();
        }