@Test public void testGetConfigurationModelWrapperWhenPureVariants() { resourceSet = TestHelper.loadPureVariantsPackages(); ConfigurationModelWrapper wrapper = FeatureAccessFactory.getConfigurationModelWrapper(pvConfigurationModelURI); Assert.assertTrue(wrapper instanceof PVConfigurationModelWrapper); }
@Test public void testGetConfigurationModelWrapperWhenFmp() { resourceSet = TestHelper.loadFmpPackages(); ConfigurationModelWrapper wrapper = FeatureAccessFactory.getConfigurationModelWrapper(fmpModelURI); Assert.assertTrue(wrapper instanceof FMPConfigurationModelWrapper); }
@Test public void testGetFeatureModelWrapperWhenPureVariants() { resourceSet = TestHelper.loadPureVariantsPackages(); FeatureModelWrapper wrapper = FeatureAccessFactory.getFeatureModelWrapper(pvFeatureModelURI); System.out.println(wrapper); Assert.assertTrue(wrapper instanceof PVFeatureModelWrapper); }
@Test public void testGetConfigurationModelWrapperWhenText() { ConfigurationModelWrapper wrapper = FeatureAccessFactory.getConfigurationModelWrapper(textFeatureModelURI); Assert.assertTrue(wrapper instanceof TextConfigurationModelWrapper); }