/**
* Test of findByExample method
*/
@Test
public void testFindByExample() {
Dictionary example = new Dictionary(null, "本", null);
List<Dictionary> dictionaries = repository.findByExample(example, ExampleSettings.create(Dictionary.class).excludeZeroes());
assertFalse(dictionaries.contains(male));
assertFalse(dictionaries.contains(undergraduate));
dictionaries = repository.findByExample(example, ExampleSettings.create(Dictionary.class).excludeZeroes().enableLike());
assertTrue(dictionaries.contains(undergraduate));