MongoQueryEngine extends SingleProjectQueryEngine<MongoClient> { @Override public void stop(String queryId) throws UnsupportedException { throw new UnsupportedException("Not supported"); } private  MongoQueryEngine(MongoConnectionHandler connectionHandler); static MongoQueryEngine getInstance(MongoConnectionHandler connectionHandler); @Override @TimerJ QueryResult execute(Project project, Connection<MongoClient> connection); @Override void stop(String queryId);  }
@Test(expected = UnsupportedException.class) public void stopTest() throws UnsupportedException, ExecutionException { mongoQueryEngine.stop(""); }