use of com.blazebit.persistence.view.testsuite.basic.model.DocumentViewInterface in project blaze-persistence by Blazebit.
the class ViewMetamodelTest method testMappingAttributesInterfaceView.
@Test
public void testMappingAttributesInterfaceView() {
ViewMetamodel viewMetamodel = getViewMetamodel();
Set<MethodAttribute<? super DocumentViewInterface, ?>> attributes = viewMetamodel.view(DocumentViewInterface.class).getAttributes();
assertEquals(6, attributes.size());
}
use of com.blazebit.persistence.view.testsuite.basic.model.DocumentViewInterface in project blaze-persistence by Blazebit.
the class ViewMetamodelTest method testGetConstructorsInterfaceView.
@Test
public void testGetConstructorsInterfaceView() {
ViewMetamodel viewMetamodel = getViewMetamodel();
ViewType<DocumentViewInterface> viewType = viewMetamodel.view(DocumentViewInterface.class);
Set<MappingConstructor<DocumentViewInterface>> constructors = viewType.getConstructors();
assertEquals(0, constructors.size());
}
Aggregations