Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public void Setup()
 {
     DistributionCentre dc = new DistributionCentre();
     dc.Id = 1;
     _agent = new Agent();
     _agent.FirstName = "Andrea";
     _agent.LastName = "Sa";
     _agent.Role = "Doctor";
 }