@Test
void shouldReturnMongoDbQuery() {

    opa.datafilter.core.ast.db.query.model.request.PartialRequest opaPartialRequest = new opa.datafilter.core.ast.db.query.model.request.PartialRequest();
    BasicQuery query = new BasicQuery("{ age : { $lt : 50 }, balance : { $gt : 1000.00 }}");
    when(mongoQueryService.getMongoDBQuery(opaPartialRequest)).thenReturn(query);
    QueryResponse result = target.getMongoDbQuery(new PartialRequest());
    assertThat(result, is(notNullValue()));
}