Beispiel #1
0
        public void GetAnyItemsExist_DoesNotExists()
        {
            // Arrange
            var componentUnderTest = new MatchQuery("four");

            // Act
            var actual = componentUnderTest.GetAnyItemsExist();

            // Assert
            actual.ShouldHaveSameValueAs(false);
        }
Beispiel #2
0
        public void GetAnyItemsExist_Exists()
        {
            // Arrange
            var componentUnderTest = new MatchQuery("two");

            // Act
            var actual = componentUnderTest.GetAnyItemsExist();

            // Assert
            actual.ShouldHaveSameValueAs(true);
        }