public void CanNewStaffBeAdded() { // Arrange var facadeInstance = new HealthFacade(); //Act // Result should be false because the Category of the staff member does not exists Boolean result = facadeInstance.addStaff(11, "Davide", "Pollicino", "Somewhere 2", "in Edinburgh", "Fake category", 3.564, 51.678); Boolean valueExpected = false; //Assert Assert.AreEqual(result, valueExpected); }
public void CanNewStaffBeAdded() { // The following structure is called 3 A // Arrange -> we create the object var facadeInstance = new HealthFacade(); //Act -> part where we call the test that we have to test Boolean result = facadeInstance.testStaff(); Boolean valueExpected = false; //Assert Assert.AreEqual(result, valueExpected); // Console.WriteLine("cdcd"); // Console.WriteLine("The staff has not being added because the staff category indicated is not valid") }