public void Create_PlayerPassed_PlayerCreated()
        {
            // Arrange
            var newPlayer = new CreatePlayerDtoBuilder().Build();

            // Act
            var sut = BuildSUT();

            sut.Create(newPlayer);

            // Assert
            VerifyCreatePlayer(newPlayer, Times.Once());
        }
        public void Create_NoCreateRights_ExceptionThrown()
        {
            // Arrange
            var testPlayer = new CreatePlayerDtoBuilder().Build();

            MockAuthServiceThrowsExeption(AuthOperations.Players.Create);
            var sut = BuildSUT();

            // Act
            sut.Create(testPlayer);

            // Assert
            VerifyCreatePlayer(testPlayer, Times.Never());
            VerifyCheckAccess(AuthOperations.Players.Create, Times.Once());
        }