public void AddPlaylistTest() { DBPlaylist dbPlaylist = new DBPlaylist(); User user = new User(1, "Myron Antonissen", "*****@*****.**", "4761KL", DateTime.Now, Country.Germany, 624196793, new Subscription("", 0.0, "")); Assert.AreEqual(true, (dbPlaylist.AddPlaylist("TestPlaylist", user))); }
public void GetPlaylistByIDTest() { DBPlaylist dbPlaylist = new DBPlaylist(); Playlist actual = dbPlaylist.GetPlaylistByID(1); User user = new User(1, "Myron Antonissen", "*****@*****.**", "4761KL", DateTime.Now, Country.Germany, 624196793, new Subscription("", 0.0, "")); Playlist expect = new Playlist(1, "MyPlaylist", user); Assert.AreEqual(expect, actual); }
public void GetPlaylistsFromUserTest() { DBPlaylist dbPlaylist = new DBPlaylist(); Assert.Fail(); }