@Test public void queryWithComplexSpecificationFromCube() throws IOException, NoSuchMethodException { ServiceLocator locator = container; CompositeCube cube = new CompositeCube(locator); CompositeCube.ForSimple filter = new CompositeCube.ForSimple(); List<Map<String, Object>> results = cube.analyze(Collections.singletonList(CompositeCube.number), null, filter::test); Assert.assertNotNull(results); }