Example #1
0
        public async Task ThenTheIndexViewIsReturned()
        {
            Mediator.Send(Arg.Any <JoinOrCreateGameCommand>()).Returns(new JoinOrCreateGameResponse(new Game()));

            var result = await LobbyController.Index(PlayerId_1);

            result.Should().BeOfType <ViewResult>();
        }