Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void TestShouldCreateEmployeeTable() { //Arrange var employeeDataContext = new DatabaseContext <Employee>(); var databaseWrapper = new DBWrapper <Employee>(employeeDataContext); //Act var noOfrows = databaseWrapper.CreatEntity(employee); //Assert Assert.AreEqual(1, noOfrows); // The assumption that a single row will be added in the table. }