@Test public void testJavaSerialization() { CumulusFamily c = CumulusFamily.builder() .setBridge( Bridge.builder() .setPorts(ImmutableSet.of()) .setPvid(1) .setVids(IntegerSpace.EMPTY) .build()) .setInterfaceClagSettings( ImmutableSortedMap.of("foo", InterfaceClagSettings.builder().build())) .build(); assertThat(SerializationUtils.clone(c), equalTo(c)); }
public static @Nonnull Builder builder() { return new Builder(); }
CumulusFamily implements Serializable { public static @Nonnull Builder builder() { return new Builder(); } }
CumulusFamily implements Serializable { public static @Nonnull Builder builder() { return new Builder(); } private  CumulusFamily(
      Bridge bridge, SortedMap<String, InterfaceClagSettings> interfaceClagSettings); }
CumulusFamily implements Serializable { public static @Nonnull Builder builder() { return new Builder(); } private  CumulusFamily(
      Bridge bridge, SortedMap<String, InterfaceClagSettings> interfaceClagSettings); static @Nonnull Builder builder(); @JsonProperty(PROP_BRIDGE) @Nonnull Bridge getBridge(); @JsonProperty(PROP_INTERFACE_CLAG_SETTINGS) @Nonnull SortedMap<String, InterfaceClagSettings> getInterfaceClagSettings(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override @Nonnull String toString(); }
CumulusFamily implements Serializable { public static @Nonnull Builder builder() { return new Builder(); } private  CumulusFamily(
      Bridge bridge, SortedMap<String, InterfaceClagSettings> interfaceClagSettings); static @Nonnull Builder builder(); @JsonProperty(PROP_BRIDGE) @Nonnull Bridge getBridge(); @JsonProperty(PROP_INTERFACE_CLAG_SETTINGS) @Nonnull SortedMap<String, InterfaceClagSettings> getInterfaceClagSettings(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override @Nonnull String toString();  }