Package com.opengamma.engine.function.blacklist

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


    assertSame(provider.getQuery("Foo"), query);
  }

  public void testFunctionBlacklistQueryProviderBean() {
    final FunctionBlacklistProvider provider = Mockito.mock(FunctionBlacklistProvider.class);
    final FunctionBlacklist blacklist = new EmptyFunctionBlacklist();
    Mockito.when(provider.getBlacklist("BL_Foo")).thenReturn(blacklist);
    final FunctionBlacklistQueryProviderBean bean = new FunctionBlacklistQueryProviderBean();
    bean.setBlacklistPrefix("BL_");
    bean.setBlacklistProvider(provider);
    final FunctionBlacklistQuery query = bean.getQuery("Foo");
View Full Code Here

TOP

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

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.