@Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("name", name())
                .add("monitorsrcports", monitorSrcPorts())
                .add("monitordstports", monitorDstPorts())
                .add("monitorvlans", monitorVlans())
                .add("mirrorport", mirrorPort())
                .add("mirrorvlan", mirrorVlan())
                .toString();
    }
@Test
    public void testToString() {
        String result = md1.toString();
        assertThat(result, notNullValue());
        assertThat(result, containsString("name=" + NAME_1.toString()));
        assertThat(result, containsString("monitorsrcports=" + MONITOR_SRC_PORTS_1.toString()));
        assertThat(result, containsString("monitordstports=" + MONITOR_DST_PORTS_1.toString()));
        assertThat(result, containsString("monitorvlans=" + MONITOR_VLANS_1.toString()));
        assertThat(result, containsString("mirrorport=" + MIRROR_PORT_1.toString()));
        assertThat(result, containsString("mirrorvlan=" + MIRROR_VLAN_1.toString()));
    }