private PluginEntryIndex GetSubject() { var sectionMock = Mock.Of <ISection>(); var sut = new PluginEntryIndex("mockId", "mockTitle", sectionMock); return(sut); }
protected override IEntryIndex BuildEntryIndex(IEnumerable <PluginRecord> data) { var index = new PluginEntryIndex(Id + "-index", "All entries", this); index.AddPluginRecords(data); return(index); }