@@ -0,0 +1,1556 @@
+/**%0A * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies%0A *%0A * Please see distribution for license.%0A */%0Apackage com.opengamma.engine.fudgemsg;%0A%0Aimport java.util.List;%0A%0Aimport org.testng.annotations.Test;%0A%0Aimport com.google.common.collect.ImmutableList;%0Aimport com.opengamma.engine.function.config.FunctionConfigurationDefinition;%0Aimport com.opengamma.engine.function.config.ParameterizedFunctionConfiguration;%0Aimport com.opengamma.engine.function.config.StaticFunctionConfiguration;%0Aimport com.opengamma.util.test.AbstractFudgeBuilderTestCase;%0Aimport com.opengamma.util.test.TestGroup;%0A%0A/**%0A * Tests %7B@link FunctionConfigurationDefinitionFudgeBuilder%7D%0A */%0A@Test(groups = TestGroup.UNIT)%0Apublic class FunctionConfigurationDefinitionBuilderTest extends AbstractFudgeBuilderTestCase %7B%0A    %0A  @Test%0A  public void functionConfigurationDefinition() %7B%0A    List%3CString%3E otherConfigs = ImmutableList.of(%22CF1%22, %22CF2%22, %22CF3%22);%0A    List%3CStaticFunctionConfiguration%3E staticFunctions = ImmutableList.of(new StaticFunctionConfiguration(%22SF1%22), %0A        new StaticFunctionConfiguration(%22SF2%22));%0A    List%3CParameterizedFunctionConfiguration%3E parameterizedFunctions = ImmutableList.of(%0A        new ParameterizedFunctionConfiguration(%22PF1%22, ImmutableList.of(%22P11%22, %22P12%22)),%0A        new ParameterizedFunctionConfiguration(%22PF2%22, ImmutableList.of(%22P21%22, %22P22%22)));%0A    assertEncodeDecodeCycle(FunctionConfigurationDefinition.class, new FunctionConfigurationDefinition(%22FUNC_TEST%22, otherConfigs, staticFunctions, parameterizedFunctions));%0A  %7D%0A%0A%7D%0A

Add unit test for fudge builder