Example #1
0
        public void MatchShouldReturnFalseIfNullString()
        {
            //Arrange
            var matcher = new AllKeysMatcher();

            //Act
            var result2 = matcher.Match((String)null);

            //Assert
            Assert.IsFalse(result2);
        }
Example #2
0
        public void MatchShouldReturnTrueForAnyStringKey()
        {
            //Arrange
            var matcher = new AllKeysMatcher();

            //Act
            var result = matcher.Match("test");

            //Assert
            Assert.IsTrue(result);
        }