Examples of EmptyFunctionBlacklist


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
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.