### Question:
ManagedStateImpl extends AbstractManagedStateImpl implements BucketedState { @Min(1) @Override public long getNumBuckets() { return numBuckets; } ManagedStateImpl(); @Override void setup(Context.OperatorContext context); @Override void put(long bucketId, @NotNull Slice key, @NotNull Slice value); @Override Slice getSync(long bucketId, @NotNull Slice key); @Override Future<Slice> getAsync(long bucketId, @NotNull Slice key); @Override void endWindow(); @Min(1) @Override long getNumBuckets(); void setNumBuckets(int numBuckets);  }### Answer:
@Test public void testSerde() throws IOException { ManagedStateImpl deserialized = KryoCloneUtils.cloneObject(testMeta.managedState); Assert.assertEquals("num buckets", deserialized.getNumBuckets(), testMeta.managedState.getNumBuckets()); }