public void Bulk_insert_should_insert_3_rows() { //Given var respository = new ContactRepository(); var contacts = new List <Contact> { new Contact { FirstName = "Charles", LastName = "Barkley" }, new Contact { FirstName = "Scotte", LastName = "Pippen" }, new Contact { FirstName = "Tim", LastName = "Duncan" }, new Contact { FirstName = "Patrick", LastName = "Ewing" } }; //When var rowAffected = respository.BulkInsertContacts(contacts); //Then rowAffected.Should().Be(4); }