/** @see DATASOLR-144 */
  @Test
  public void testDeleteAttrbiteOfAnnotatedQueryIsFalseByDefault() throws Exception {

    SolrQueryMethod method = getQueryMethodByName("findByAnnotatedQuery", String.class);
    Assert.assertFalse(method.isDeleteQuery());
  }
  /** @see DATASOLR-144 */
  @Test
  public void testDeleteAttrbiteOfAnnotatedQueryIsDiscoveredCorrectlty() throws Exception {

    SolrQueryMethod method = getQueryMethodByName("removeByAnnotatedQuery");
    Assert.assertTrue(method.isDeleteQuery());
  }