@Test
 public void testQueryWithDefType() throws Exception {
   SolrQueryMethod method = getQueryMethodByName("findByNameEndingWith", String.class);
   Assert.assertEquals("lucene", method.getDefType());
 }