public void DeleteEmployee_UnexistedGinNumber_ReturnsFalse() { var healthDataHolder = new HealthDataHolder(); healthDataHolder.AddEmployee("123456789", "Sophie", "36.5", false, false); Assert.True(!healthDataHolder.DeleteEmployee("111111")); }
public void DeleteEmployee_CheckSuccess() { var healthDataHolder = new HealthDataHolder(); healthDataHolder.AddEmployee("123456789", "Sophie", "36.5", false, false); healthDataHolder.DeleteEmployee("123456789"); Assert.False(healthDataHolder.DataHolder.ContainsKey("123456789")); }