@Test
public void newInstantQuery() {

    String promql = "sum_over_time(jvm.gc.young.count{app=\"lookout-gateway\"}[60s])";
    Query query = engine.newInstantQuery(promql, Instant.parse("2019-05-29T10:29:30Z"));
    Assert.assertNotNull(query);
    String q = query.getQ();
    Assert.assertEquals(promql, q);
    Statement statement = query.getStmt();
    Assert.assertNotNull(statement);
    Assert.assertTrue(statement instanceof EvalStmt);
    EvalStmt evalStmt = (EvalStmt) statement;
    Assert.assertEquals(0, evalStmt.getInterval().getSeconds());
}