private static final String FIELD_AGGREGATE_RESULT_STAGES_NAME = "stages";
private static final String FIELD_AGGREGATE_RESULT_CURSOR_NAME = "cursor";
@Test
public void testExplainAggregateQuery() throws ExecutionException, InterruptedException {
new Fiber<Void>(new SuspendableRunnable() {
@Override
public void run() throws SuspendExecution, InterruptedException {
Document explain = mongoColl.explain(AGGREGATE_QUERY.build());
assertNotNull(explain.get(FIELD_AGGREGATE_RESULT_STAGES_NAME));
}