@Test
  public void testWithSigleFilter() throws Exception {
    SolrQueryMethod method = getQueryMethodByName("findByNameStringWith", String.class);
    Assert.assertFalse(method.hasAnnotatedQuery());
    Assert.assertFalse(method.hasProjectionFields());
    Assert.assertFalse(method.hasFacetFields());
    Assert.assertFalse(method.hasAnnotatedNamedQueryName());
    Assert.assertTrue(method.hasFilterQuery());

    Assert.assertEquals(1, method.getFilterQueries().size());
  }
  @Test
  public void testWithMultipleFilters() throws Exception {
    SolrQueryMethod method =
        getQueryMethodByName("findAllFilterAvailableTrueAndPopularityLessThan5", String.class);
    Assert.assertTrue(method.hasAnnotatedQuery());
    Assert.assertFalse(method.hasProjectionFields());
    Assert.assertFalse(method.hasFacetFields());
    Assert.assertFalse(method.hasAnnotatedNamedQueryName());
    Assert.assertTrue(method.hasFilterQuery());

    Assert.assertEquals(2, method.getFilterQueries().size());
  }