public void UpdateDetails_UpdateDistributionCentre_TakingEffect() { DistributionCentre newDC = new DistributionCentre(); Staff staffObject = createStaffMock(); //staffObject.UpdateDistributionCentre(newDC); //need to be uncomment after the method built Assert.AreEqual(staffObject.DistributionCentre, newDC); }
public void Setup() { DistributionCentre dc = new DistributionCentre(); dc.Id = 1; _agent = new Agent(); _agent.FirstName = "Andrea"; _agent.LastName = "Sa"; _agent.Role = "Doctor"; }