Package com.opengamma.engine.function.blacklist

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


  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

Related Classes of com.opengamma.engine.function.blacklist.EmptyFunctionBlacklistPolicy

Copyright © 2018 www.massapicom. 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.