public Set<FlowRule> flowtable() {
        JsonNode ents = object.path(ENTRIES);
        if (!ents.isArray()) {

            return ImmutableSet.of();
        }
        ArrayNode entries = (ArrayNode) ents;

        Builder<FlowRule> builder = ImmutableSet.builder();
        entries.forEach(entry -> builder.add(decode(entry, FlowRule.class)));
        return builder.build();
    }
@Test
    public void readTest() throws JsonProcessingException, IOException {

        FlowTableConfig sut = new FlowTableConfig();
        sut.init(DID, FlowTableConfig.CONFIG_KEY, cfgnode, mapper, noopDelegate);

        assertThat(sut.flowtable(), is(equalTo(ImmutableSet.of(FLOW_RULE))));
    }