public void SelectByValidSelectorWorks() { var expected = new[] { "Windows XP SP2", "Windows Server 2003 SP1", "general availability" }; var actual = validSelector.Select(validResource).Select(r => r.AsString()); Assert.Equal(expected, actual); }
public void SelectByNotMatchingSelectorReturnsEmptySequence() { var actual = notMatchingSelector.Select(validResource).Select(r => r.AsString()); Assert.Empty(actual); }