Esempio n. 1
0
        public void Contains_KnownRanking_ReturnsTrue()
        {
            // Arrange
            var rankingName = "Default";
            // Act
            var containsRanking = RankingSetProvider.ContainsRanking(rankingName);

            // Assert
            Assert.IsTrue(containsRanking);
        }
Esempio n. 2
0
        public void Contains_EmptyString_ReturnsFalse()
        {
            // Arrange
            var rankingName = "";
            // Act
            var containsRanking = RankingSetProvider.ContainsRanking(rankingName);

            // Assert
            Assert.IsFalse(containsRanking);
        }
Esempio n. 3
0
        public void Contains_UnknownRanking_ReturnsFalse()
        {
            // Arrange
            var rankingName = "this_ranking_is_unkown";
            // Act
            var containsRanking = RankingSetProvider.ContainsRanking(rankingName);

            // Assert
            Assert.IsFalse(containsRanking);
        }