@Test
public void testSummaryOnlyRead() {

    metadata.commit(() -> {
        Feed feed = this.feedProvider.findById(idB);
        feed.getAllowedActions().enable(TEST_USER1, FeedAccessControl.ACCESS_FEED);
    }, TEST_USER2);
    metadata.read(() -> {
        Feed feed = this.feedProvider.findById(idB);
        assertThat(feed.getName()).isNotNull().isEqualTo("FeedB");
        assertThat(feed.getCategory()).isNotNull().hasFieldOrPropertyWithValue("systemName", this.categorySystemName);
        assertThat(feed.getJson()).isNull();
        assertThat(feed.getState()).isNull();
    }, TEST_USER1);
}