protected void AssertsTestLoad(List <Filter> expect, string file) { var sut = new FilterFile(); var actual = sut.Load(file); Assert.Equal(expect, actual); }
public void TestParseFailed() { var sut = new FilterFile(); Assert.Throws <InvalidOperationException>(() => sut.Load("not-existing-file.txt")); }