public void groupBy(@Injectable final BootStrapContext bitContext, @Injectable UserClientConnection connection, @Injectable ClusterCoordinator coord, @Injectable BitCom com, @Injectable DistributedCache cache) throws Throwable{
SimpleRootExec exec = doLogicalTest(bitContext, connection, "/logical_group.json", coord, com, cache);
}
private SimpleRootExec doLogicalTest(final BootStrapContext context, UserClientConnection connection, String file, ClusterCoordinator coord, BitCom com, DistributedCache cache) throws Exception{
new NonStrictExpectations(){{
context.getMetrics(); result = new MetricRegistry("test");
context.getAllocator(); result = BufferAllocator.getAllocator(c);
context.getConfig(); result = c;
}};
RemoteServiceSet lss = RemoteServiceSet.getLocalServiceSet();