public void Affect1Recru() { List <Recru> ListRecrus = new List <Recru>(); _output.WriteLine("Test Works "); var Ismail = new Recru("Ismail", 22, "*****@*****.**", Position.Back, DepartementsType.Dev); _departementsFixture.Departement.Affect(ListRecrus, Ismail); Assert.NotEmpty(ListRecrus); Assert.Equal("Ismail", _departementsFixture.Departement.GetRecruByName(ListRecrus, "Ismail").Name); }
public void DeleteRecruFromDev() { List <Recru> ListRecrus = new List <Recru>(); _output.WriteLine("Test Works "); Assert.Empty(ListRecrus); var Ismail = new Recru("Ismail", 22, "*****@*****.**", Position.Back, DepartementsType.Dev); _departementsFixture.Departement.Affect(ListRecrus, NewRecrus); _departementsFixture.Departement.DeleteRecrus(ListRecrus, Ismail); Assert.False(_departementsFixture.Departement.DepartementContainsRecru(ListRecrus, Ismail.Name)); }