public class TestNamespacesModel extends TestModelBase<NamespacesModel>
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE_NAME_1 |
static String |
NAMESPACE_NAME_2 |
| Constructor and Description |
|---|
TestNamespacesModel() |
| Modifier and Type | Method and Description |
|---|---|
protected NamespacesModel |
buildTestModel() |
NamespacesModel |
buildTestModel(String... namespaces) |
protected void |
checkModel(NamespacesModel model) |
void |
checkModel(NamespacesModel model,
String... namespaceName) |
void |
testBuildModel() |
void |
testFromPB() |
void |
testFromXML() |
fromJSON, fromPB, fromXML, testFromJSON, testToJSON, testToXML, toJSON, toPB, toXMLpublic static final String NAMESPACE_NAME_1
public static final String NAMESPACE_NAME_2
protected NamespacesModel buildTestModel()
buildTestModel in class TestModelBase<NamespacesModel>public NamespacesModel buildTestModel(String... namespaces)
protected void checkModel(NamespacesModel model)
checkModel in class TestModelBase<NamespacesModel>public void checkModel(NamespacesModel model, String... namespaceName)
public void testBuildModel()
throws Exception
testBuildModel in class TestModelBase<NamespacesModel>Exceptionpublic void testFromXML()
throws Exception
testFromXML in class TestModelBase<NamespacesModel>Exceptionpublic void testFromPB()
throws Exception
testFromPB in class TestModelBase<NamespacesModel>Exception