use of org.onap.so.serviceinstancebeans.ModelType in project so by onap.
the class RequestHandlerUtilsUnitTest method getModelTypeAddMembersTest.
@Test
public void getModelTypeAddMembersTest() throws ApiException {
ModelType modelTypeExpected = ModelType.instanceGroup;
ModelType modelTypeResult = requestHandler.getModelType(Action.addMembers, null);
assertEquals(modelTypeResult, modelTypeExpected);
}
use of org.onap.so.serviceinstancebeans.ModelType in project so by onap.
the class RequestHandlerUtilsUnitTest method getModelTypeInPlaceSoftwareUpdateTest.
@Test
public void getModelTypeInPlaceSoftwareUpdateTest() throws ApiException {
ModelType modelTypeExpected = ModelType.vnf;
ModelType modelTypeResult = requestHandler.getModelType(Action.inPlaceSoftwareUpdate, null);
assertEquals(modelTypeResult, modelTypeExpected);
}
Aggregations