public void TestRetrieveShiftDetailsWithInvalidUserID() { //Arrange int userID = 0; IShiftManager _shiftManager = new ShiftManager(_shiftAccessor); //Act var actualResult = _shiftManager.RetrieveShfitDetailsByUserID(userID); Assert.AreEqual(null, actualResult); }
public void TestRetrieveShiftDetailsByUSerIDSuccess() { //Arrange int userID = 1; IShiftManager _shiftManager = new ShiftManager(_shiftAccessor); //Act var actualResult = _shiftManager.RetrieveShfitDetailsByUserID(userID); //Assert Assert.AreEqual(1, actualResult.Count); }