Examples of EmptyFunctionBlacklistPolicy


Examples of com.opengamma.engine.function.blacklist.EmptyFunctionBlacklistPolicy

*/
@Test(groups = TestGroup.UNIT)
public class FunctionBlacklistPolicyFudgeBuilderTest extends AbstractFudgeBuilderTestCase {

  public void testEmpty() {
    final FunctionBlacklistPolicy policy = new EmptyFunctionBlacklistPolicy();
    assertEncodeDecodeCycle(FunctionBlacklistPolicy.class, policy);
  }
View Full Code Here

Examples of com.opengamma.engine.function.blacklist.EmptyFunctionBlacklistPolicy

  public void testFunctionBlacklistMaintainerProviderBean_emptyPolicy() {
    final FunctionBlacklistMaintainerProviderBean bean = new FunctionBlacklistMaintainerProviderBean();
    bean.setBlacklistProvider(Mockito.mock(ManageableFunctionBlacklistProvider.class));
    bean.setBlacklistPrefix("BL_");
    bean.setBlacklistPolicy(new EmptyFunctionBlacklistPolicy());
    assertNull(bean.getUpdate("Foo"));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.