use of io.crnk.gen.typescript.transform.TSMetaTransformationOptions in project crnk-framework by crnk-project.
the class TSGeneratorTest method throwExceptionWhenTransformingUnknownMetaElement.
@Test(expected = IllegalStateException.class)
public void throwExceptionWhenTransformingUnknownMetaElement() {
MetaElement metaElement = Mockito.mock(MetaElement.class);
metaElement.setId("does.not.exist");
TSMetaTransformationOptions options = Mockito.mock(TSMetaTransformationOptions.class);
generator.transform(metaElement, options);
}
Aggregations