public class TestNamespacesInstanceModel extends TestModelBase<NamespacesInstanceModel>
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE_NAME |
static Map<String,String> |
NAMESPACE_PROPERTIES |
| Constructor and Description |
|---|
TestNamespacesInstanceModel() |
| Modifier and Type | Method and Description |
|---|---|
protected NamespacesInstanceModel |
buildTestModel() |
NamespacesInstanceModel |
buildTestModel(String namespace,
Map<String,String> properties) |
protected void |
checkModel(NamespacesInstanceModel model) |
void |
checkModel(NamespacesInstanceModel model,
String namespace,
Map<String,String> properties) |
void |
testBuildModel() |
void |
testFromPB() |
void |
testFromXML() |
fromJSON, fromPB, fromXML, testFromJSON, testToJSON, testToXML, toJSON, toPB, toXMLpublic static final String NAMESPACE_NAME
protected NamespacesInstanceModel buildTestModel()
buildTestModel in class TestModelBase<NamespacesInstanceModel>public NamespacesInstanceModel buildTestModel(String namespace, Map<String,String> properties)
protected void checkModel(NamespacesInstanceModel model)
checkModel in class TestModelBase<NamespacesInstanceModel>public void checkModel(NamespacesInstanceModel model, String namespace, Map<String,String> properties)
public void testBuildModel()
throws Exception
testBuildModel in class TestModelBase<NamespacesInstanceModel>Exceptionpublic void testFromXML()
throws Exception
testFromXML in class TestModelBase<NamespacesInstanceModel>Exceptionpublic void testFromPB()
throws Exception
testFromPB in class TestModelBase<NamespacesInstanceModel>Exception