public void testDeserializedSupplierWillUseStaticallyDeterminedDelegate() throws Exception { Supplier<String> supplier = serializeThenDeserialize(scope.apply(() -> "Ni")); assertEquals(supplier.get(), "Nu"); }
public void testSupplierIsDeserializable() throws Exception { serializeThenDeserialize(scope.apply(() -> "Ni")); }