final FunctionBlacklistPolicy policy = new EmptyFunctionBlacklistPolicy();
assertEncodeDecodeCycle(FunctionBlacklistPolicy.class, policy);
}
public void testPopulated() {
final FunctionBlacklistPolicy policy = new DefaultFunctionBlacklistPolicy(UniqueId.of("Test", "Test"), 500, Arrays.asList(FunctionBlacklistPolicy.Entry.EXECUTION_NODE,
FunctionBlacklistPolicy.Entry.FUNCTION, FunctionBlacklistPolicy.Entry.PARAMETERIZED_FUNCTION, FunctionBlacklistPolicy.Entry.WILDCARD.activationPeriod(1)));
assertEncodeDecodeCycle(FunctionBlacklistPolicy.class, policy);
}