public void CheckExistAuthorReallyExists() { //Arrange repository.Create(new AuthorEM() { FirstName = "Max", LastName = "Smith", YearBorn = 1900 }); repository.Create(new AuthorEM() { FirstName = "Kelly", LastName = "Somers", YearBorn = 1950 }); //Act bool resultAuthor1FirstLetter = service.CheckExist(new AuthorVM() { FirstName = "Max", LastName = "Smith", Born = 1900 }); bool resultAuthor1LowerCase = service.CheckExist(new AuthorVM() { FirstName = "max", LastName = "smith", Born = 1900 }); bool resultAuthor1UpperCase = service.CheckExist(new AuthorVM() { FirstName = "MAX", LastName = "SMITH", Born = 1900 }); bool resultAuthor1MixedCase = service.CheckExist(new AuthorVM() { FirstName = "MaX", LastName = "SmItH", Born = 1900 }); //Assert Assert.IsTrue(resultAuthor1FirstLetter); Assert.IsTrue(resultAuthor1LowerCase); Assert.IsTrue(resultAuthor1UpperCase); Assert.IsTrue(resultAuthor1MixedCase); }