public void GetSingle_DoesNotExists() { // Arrange var componentUnderTest = new MatchQuery("four"); // Act componentUnderTest.GetSingle(); }
public void GetSingle_Exists() { // Arrange var componentUnderTest = new MatchQuery("two"); // Act var actual = componentUnderTest.GetSingle(); // Assert actual.ShouldHaveSameValueAs("two"); }