use of org.grails.core.artefact.ServiceArtefactHandler in project grails-core by grails.
the class ServiceArtefactHandlerTests method testIsServiceClass.
public void testIsServiceClass() {
GroovyClassLoader gcl = new GroovyClassLoader();
Class<?> c = gcl.parseClass("class TestService { }\n");
ArtefactHandler handler = new ServiceArtefactHandler();
assertTrue(handler.isArtefact(c));
}
Aggregations