private PluginEntryIndex GetSubject()
    {
        var sectionMock = Mock.Of <ISection>();
        var sut         = new PluginEntryIndex("mockId", "mockTitle", sectionMock);

        return(sut);
    }
示例#2
0
    protected override IEntryIndex BuildEntryIndex(IEnumerable <PluginRecord> data)
    {
        var index = new PluginEntryIndex(Id + "-index", "All entries", this);

        index.AddPluginRecords(data);
        return(index);
    }