@Nonnull
    @JsonProperty
    public abstract BackendQuery query();
@Test
    void testSimpleQuery() throws IOException {
        final Query query = objectMapper.readValue(getClass().getResourceAsStream("/org/graylog/plugins/views/search/query/simple-query.json"), Query.class);
        final ElasticsearchQueryString queryString = (ElasticsearchQueryString) query.query();
        assertThat(queryString.queryString()).isEqualTo("some-simple-query");
    }