public void Arrange() { _repo = new Developer_Repository(); _content = new Developer("Daniele Thomas", 112, true, 3); _repo.AddDevlopersToList(_content); }
public void AddToList_ShouldGetNotNull() { //Arrange Developer content = new Developer(); content.FullName = "Daniele Thomas"; Developer_Repository repository = new Developer_Repository(); //Act repository.AddDevlopersToList(content); Developer contentFromDirectory = repository.GetDeveloperByDeveloperName("Daniele Thomas"); //Assert Assert.IsNotNull(contentFromDirectory); }