use of org.opentosca.toscana.plugins.kubernetes.lifecycle.KubernetesLifecycle in project TOSCAna by StuPro-TOSCAna.
the class KubernetesPluginTest method modelCheckTest.
@Test(expected = ValidationFailureException.class)
public void modelCheckTest() throws Exception {
EffectiveModel singleComputeModel = new EffectiveModelFactory().create(TestCsars.VALID_SINGLE_COMPUTE_WINDOWS_TEMPLATE, logMock());
TransformationContext context = setUpMockTransformationContext(singleComputeModel);
KubernetesLifecycle lifecycle = plugin.getInstance(context);
plugin.transform(lifecycle);
}
Aggregations