public void TestVindSprintGebruikerVanGebruikerVoorSprint() { Gebruiker gb = new Gebruiker(); sprint.VoegGebruikerToe(gb, SprintRol.Developer); SprintGebruiker sg = gb.GeefSprintGebruikerVoor(sprint); Assert.AreEqual(gb, sg.Gebruiker); }
public void TestVindGeenSprintGebruikerVanAndereSprints() { Gebruiker gb = new Gebruiker(); Sprint sprint2 = new Sprint(); sprint2.VoegGebruikerToe(gb, SprintRol.Developer); sprint.VoegGebruikerToe(gb, SprintRol.Developer); SprintGebruiker sg = gb.GeefSprintGebruikerVoor(sprint); Assert.AreEqual(sprint, sg.Sprint); }