public void GetPerson_ReturnNull()
        {
            // Arrange
            var repository = new StubIPersonRepository()
            {
                GetPersonInt32 = personId => { return(null); }
            };

            // Act
            var result = repository.GetPersonInt32(1);

            // Assert
            Assert.IsNull(result);
        }
        public void GetPerson_ReturnPerson()
        {
            // Arrange
            var person = new Person()
            {
                FirstName = "Test", LastName = "User"
            };
            var repository = new StubIPersonRepository()
            {
                GetPersonInt32 = personId => { return(person); }
            };

            // Act
            var result = repository.GetPersonInt32(1);

            // Assert
            Assert.AreEqual(result, person);
        }