예제 #1
0
 public void PlayNextSong_UserIsNotAdministrator_ThrowsInvalidOperationException()
 {
     using (var library = new Library.Library())
     {
         library.CreateAdmin("TestPassword");
         library.ChangeToParty();
         library.PlayNextSong();
     }
 }
예제 #2
0
 public void PlayNextSong_UserIsNotAdministrator_ThrowsInvalidOperationException()
 {
     using (var library = new Library.Library())
     {
         library.CreateAdmin("TestPassword");
         library.ChangeToParty();
         library.PlayNextSong();
     }
 }