@Test public void listResources() { }
public List<Resource> listResources() { return resourceDao.findAll(); }
ResourceService { public List<Resource> listResources() { return resourceDao.findAll(); } }
ResourceService { public List<Resource> listResources() { return resourceDao.findAll(); } @Inject  ResourceService(ResourceDao resourceDao); }
ResourceService { public List<Resource> listResources() { return resourceDao.findAll(); } @Inject  ResourceService(ResourceDao resourceDao); List<Resource> listResources(); List<Resource> listResourcesWithFramework(String framework); Resource addResource(Resource resource); Resource getResource(String resourceId); Resource getResource(String framework, String name); boolean hasResource(String framework, String name); void deleteResource(String resourceId); void updateResource(String resourceId, Resource resource); }
ResourceService { public List<Resource> listResources() { return resourceDao.findAll(); } @Inject  ResourceService(ResourceDao resourceDao); List<Resource> listResources(); List<Resource> listResourcesWithFramework(String framework); Resource addResource(Resource resource); Resource getResource(String resourceId); Resource getResource(String framework, String name); boolean hasResource(String framework, String name); void deleteResource(String resourceId); void updateResource(String resourceId, Resource resource);  }