Exemplo n.º 1
0
 public void PlayNextSong_UserIsNotAdministrator_ThrowsInvalidOperationException()
 {
     using (var library = new Library.Library())
     {
         library.CreateAdmin("TestPassword");
         library.ChangeToParty();
         library.PlayNextSong();
     }
 }
Exemplo n.º 2
0
 public void PlayNextSong_UserIsNotAdministrator_ThrowsInvalidOperationException()
 {
     using (var library = new Library.Library())
     {
         library.CreateAdmin("TestPassword");
         library.ChangeToParty();
         library.PlayNextSong();
     }
 }