Example #1
0
        public void TestDeleteRankingForPlayer_ReturnsNoContent()
        {
            rankingController = new RankingController(mockRankingService.Object);
            var             deleteRankingForPlayerResult = rankingController.DeleteRankingForPlayer(rankingHelper.ranking.UserId);
            NoContentResult result = deleteRankingForPlayerResult as NoContentResult;

            Assert.NotNull(result);
            Assert.AreEqual(204, result.StatusCode);
        }