* limitations under the License.
* ============LICENSE_END=========================================================
*/
+
package org.onap.aai.introspection;
+import static org.junit.Assert.assertEquals;
+
import org.onap.aai.AAISetup;
import org.onap.aai.introspection.exceptions.AAIUnknownObjectException;
-import static org.junit.Assert.assertEquals;
-
public abstract class IntrospectorTestSpec extends AAISetup {
-
-
/**
* Container test set.
*
* @param wrappedPortGroups the wrapped port groups
- * @throws AAIUnknownObjectException
+ * @throws AAIUnknownObjectException
*/
protected void containerTestSet(Introspector wrappedPortGroups) throws AAIUnknownObjectException {
-
- assertEquals(
- "isContainer",
- true,
- wrappedPortGroups.isContainer());
-
- assertEquals(
- "newInstanceOfNestedProperty",
- "PortGroup",
+
+ assertEquals("isContainer", true, wrappedPortGroups.isContainer());
+
+ assertEquals("newInstanceOfNestedProperty", "PortGroup",
wrappedPortGroups.newInstanceOfNestedProperty("port-group").getClass().getSimpleName());
-
- assertEquals(
- "isComplexGenericType",
- true,
- wrappedPortGroups.isComplexGenericType("port-group"));
-
-
+
+ assertEquals("isComplexGenericType", true, wrappedPortGroups.isComplexGenericType("port-group"));
+
}
-
+
}