public void TestBuild() { GroupMetadataBuilder builder = new GroupMetadataBuilder(ReaderFactory.GetGroupDataReader()) { GroupIds = new List<int> { 2000002, 2000003 } }; var list = builder.Build(); Assert.AreEqual(2, list.Count); }
public void TestBuildNoGroupId() { GroupMetadataBuilder builder = new GroupMetadataBuilder(ReaderFactory.GetGroupDataReader()); Assert.AreEqual(0, builder.Build().Count); }