Package com.opengamma.engine.calcnode.RemoteNodeServer

Examples of com.opengamma.engine.calcnode.RemoteNodeServer.FunctionBlacklistQueryProviderBean


  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");
    assertTrue(query.isEmpty());
  }
View Full Code Here

TOP

Related Classes of com.opengamma.engine.calcnode.RemoteNodeServer.FunctionBlacklistQueryProviderBean

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.