public void WhenAPersonIsNotFoundThenHelloWorldIsReturned()
        {
            IDataAccessAdapter fakeDataAccessAdapter =
                new FakeDataAccessAdapter(null);

            Greeter greeter = new Greeter(fakeDataAccessAdapter);

            string helloResult = greeter.SayHello(1);

            Assert.That(helloResult, Is.EqualTo("Hello, World!"));
        }
        public void WhenAPersonIsFoundThenThePersonsNameIsIncluded()
        {
            Person foundPerson = new Person();
            foundPerson.Name = "Bob";

            IDataAccessAdapter fakeDataAccessAdapter =
                new FakeDataAccessAdapter(foundPerson);

            Greeter greeter = new Greeter(fakeDataAccessAdapter);

            string helloResult = greeter.SayHello(1);

            Assert.That(helloResult, Is.EqualTo("Hello, Bob!"));
        }