Added test
This commit is contained in:
parent
714ec5dcae
commit
2c3fb5a55f
|
@ -7,6 +7,7 @@ import org.gcube.informationsystem.model.reference.properties.PropagationConstra
|
|||
import org.gcube.informationsystem.model.reference.properties.PropagationConstraint.AddConstraint;
|
||||
import org.gcube.informationsystem.model.reference.properties.PropagationConstraint.RemoveConstraint;
|
||||
import org.gcube.informationsystem.model.reference.relations.IsRelatedTo;
|
||||
import org.gcube.informationsystem.types.reference.properties.PropertyTypeDefinition;
|
||||
import org.gcube.informationsystem.types.reference.relations.RelationTypeDefinition;
|
||||
import org.gcube.informationsystem.utils.ISMapper;
|
||||
import org.junit.Test;
|
||||
|
@ -38,6 +39,10 @@ public class SerializationTest {
|
|||
@SuppressWarnings("rawtypes")
|
||||
RelationTypeDefinition rtdSelf = (RelationTypeDefinition) TypeBinder.createTypeDefinition(RelationTypeDefinition.class);
|
||||
logger.info(ISMapper.marshal(rtdSelf));
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
PropertyTypeDefinition ptd = (PropertyTypeDefinition) TypeBinder.createTypeDefinition(PropertyTypeDefinition.class);
|
||||
logger.info(ISMapper.marshal(ptd));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue