use of org.ligoj.app.resource.node.sample.BugTrackerResource in project ligoj-api by ligoj.
the class ServicePluginLocatorTest method getResourceTypeParent.
@Test
public void getResourceTypeParent() {
final ConfigurablePlugin resource = component.getResource(JiraBaseResource.KEY + ":any", ConfigurablePlugin.class);
Assertions.assertNotNull(resource);
Assertions.assertTrue(resource instanceof BugTrackerResource);
}
use of org.ligoj.app.resource.node.sample.BugTrackerResource in project ligoj-api by ligoj.
the class ServicePluginLocatorTest method getResourceType.
@Test
public void getResourceType() {
final ConfigurablePlugin resource = component.getResource(JiraBaseResource.KEY, ConfigurablePlugin.class);
Assertions.assertNotNull(resource);
Assertions.assertTrue(resource instanceof BugTrackerResource);
}
Aggregations