Inheritance: ReactiveUI.ReactiveObject
 public void ShouldChangeLoginCommandDisable(string username, string password, bool canExecute)
 {
     var sut = new LoginViewModel(new TestAuthentication());
     sut.LoginName = username;
     sut.Password = password;
     Assert.Equal(canExecute, sut.LoginCommand.CanExecute(null));
 }
 public void ShouldSetMessageAfterValidAuthentication()
 {
     var username = "******";
     var password = "******";
     var expected = "Přihlášen";
     var sut = new LoginViewModel(new TestAuthentication())
     {
         LoginName = username,
         Password = password
     };
     sut.LoginCommand.Execute(null);
     Assert.Equal(expected, sut.Message);
 }