public void LoginCommandExecuted_UsernameIsKnud_CollecterDoesUserExistReceivesKnud() { _sut.UserName = "******"; _sut.Password = ""; _sut.LoginCommand.Execute(null); _collector.Received().DoesUserExist("Knud", Arg.Any <string>()); }
public void Login_UsernameIsBent_CollectorDoesUserExistReceivesBent() { _uut.Login("Bent", ""); _collector.Received().DoesUserExist("Bent", Arg.Any <string>()); }