public void LoginIsCalled_AlreadyLoggedIn_DoesNothing() { //Arrange user.UserToken = "Token"; //Act uut.LoginCommand.Execute(null); //Assert Alerter.DidNotReceiveWithAnyArgs().Alert(Arg.Any <string>(), Arg.Any <string>(), Arg.Any <string>()); NavService.DidNotReceiveWithAnyArgs().GoBackAsync(); RestClient.DidNotReceiveWithAnyArgs().LoginAsync(null); }