public class FunctionConfigurationDefinitionBuilderTest extends AbstractFudgeBuilderTestCase {
@Test
public void functionConfigurationDefinition() {
List<String> otherConfigs = ImmutableList.of("CF1", "CF2", "CF3");
List<StaticFunctionConfiguration> staticFunctions = ImmutableList.of(new StaticFunctionConfiguration("SF1"),
new StaticFunctionConfiguration("SF2"));
List<ParameterizedFunctionConfiguration> parameterizedFunctions = ImmutableList.of(
new ParameterizedFunctionConfiguration("PF1", ImmutableList.of("P11", "P12")),
new ParameterizedFunctionConfiguration("PF2", ImmutableList.of("P21", "P22")));
assertEncodeDecodeCycle(FunctionConfigurationDefinition.class, new FunctionConfigurationDefinition("FUNC_TEST", otherConfigs, staticFunctions, parameterizedFunctions));
}