ShardManagerSnapshot implements Serializable { public List<String> getShardList() { return this.shardList; } ShardManagerSnapshot(final @NonNull List<String> shardList,
                                final Map<DOMDataTreeIdentifier, PrefixShardConfiguration> prefixShardConfiguration); List<String> getShardList(); @Override String toString();  }
@Test public void testSerialization() { ShardManagerSnapshot expected = new ShardManagerSnapshot(Arrays.asList("shard1", "shard2"), Collections.emptyMap()); ShardManagerSnapshot cloned = (ShardManagerSnapshot) SerializationUtils.clone(expected); assertEquals("getShardList", expected.getShardList(), cloned.getShardList()); }