use of io.crnk.meta.model.MetaType in project crnk-framework by crnk-project.
the class MetaMetaTest method testLinksNaming.
@Test
public void testLinksNaming() {
MetaResource taskMeta = resourceProvider.getMeta(Task.class);
MetaAttribute linksInformation = taskMeta.getAttribute("linksInformation");
MetaType type = linksInformation.getType();
Assert.assertEquals(type.getId(), "resources.tasks$links");
Assert.assertEquals(type.getName(), "TaskLinks");
}
Aggregations