예제 #1
0
        public void GetSingle_DoesNotExists()
        {
            // Arrange
            var componentUnderTest = new MatchQuery("four");

            // Act
            componentUnderTest.GetSingle();
        }
예제 #2
0
        public void GetSingle_Exists()
        {
            // Arrange
            var componentUnderTest = new MatchQuery("two");

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

            // Assert
            actual.ShouldHaveSameValueAs("two");
        }