public void CreateNullTest() { ArtistManager artistMng = new ArtistManager(); Artist artist = null; Response actual = artistMng.Create(artist); bool expected = false; Console.WriteLine(actual.Message); Assert.AreEqual(expected, actual.Status); }
public void CreateTest() { ArtistManager artistMng = new ArtistManager(); Artist artist = new Artist() { name = "Artista de prueba" }; Response actual = artistMng.Create(artist); bool expected = true; Console.WriteLine(actual.Message); Assert.AreEqual(expected, actual.Status); }