use of io.lumeer.api.model.LinkType in project engine by Lumeer.
the class LinkTypeFacadeIT method testDeleteLinkType.
@Test
public void testDeleteLinkType() {
LinkType created = linkTypeFacade.createLinkType(prepareLinkType());
assertThat(created.getId()).isNotNull();
linkTypeFacade.deleteLinkType(created.getId());
assertThatThrownBy(() -> linkTypeDao.getLinkType(created.getId())).isInstanceOf(StorageException.class);
}
Aggregations