### Question:
ShortcutServiceImpl extends DefaultCrudService<Shortcut> implements
  ShortcutService { public List<Shortcut> findCommon() { return this.shortcutDao.findByActor(null, false, false); }  @Autowired void setShortcutDao(ShortcutDao shortcutDao); List<Shortcut> findCommon(); List<Shortcut> findByActor(Long actorId); List<Shortcut> findByActor(Long actorId, boolean includeAncestor,
                                    boolean includeCommon); List<Shortcut> findByActor(Long actorId,
                                    Set<Actor> ancestorOrganizations, Set<Role> roles,
                                    Set<Resource> modules);  }### Answer:
@Test public void testFindCommon() { deleteAll(); Shortcut shortcut4common = this.createInstance(this.getDefaultConfig()); shortcut4common.setActorId(new Long(0)); this.shortcutService.save(shortcut4common); Assert.assertNotNull(shortcut4common.getId()); List<Shortcut> shortcuts = this.shortcutService.findCommon(); Assert.assertNotNull(shortcuts); Assert.assertEquals(1, shortcuts.size()); Assert.assertEquals(shortcut4common, shortcuts.get(0)); }