summaryrefslogtreecommitdiffstats
path: root/container-core/src/test/java
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2022-07-12 00:48:57 +0200
committergjoranv <gv@verizonmedia.com>2022-07-12 01:41:37 +0200
commita6cc157a30fea6bd60274c74d2bb0c259b304ebf (patch)
tree8fa4a5cb3bab68a60b84f518bdadbee935c1ee94 /container-core/src/test/java
parentb6f197461e83a02c9bdd13da0cfc932fcacabbc1 (diff)
Simplify creation of BundleInstantiationSpec
Diffstat (limited to 'container-core/src/test/java')
-rw-r--r--container-core/src/test/java/com/yahoo/osgi/provider/model/ComponentModelTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-core/src/test/java/com/yahoo/osgi/provider/model/ComponentModelTest.java b/container-core/src/test/java/com/yahoo/osgi/provider/model/ComponentModelTest.java
index 4433b78c807..a1e533158b5 100644
--- a/container-core/src/test/java/com/yahoo/osgi/provider/model/ComponentModelTest.java
+++ b/container-core/src/test/java/com/yahoo/osgi/provider/model/ComponentModelTest.java
@@ -14,7 +14,7 @@ public class ComponentModelTest {
@Test
public void create_from_instantiation_spec() {
ComponentModel model = new ComponentModel(
- BundleInstantiationSpecification.getFromStrings("id", "class", "bundle"));
+ BundleInstantiationSpecification.fromStrings("id", "class", "bundle"));
verifyBundleSpec(model);
}
@@ -26,7 +26,7 @@ public class ComponentModelTest {
@Test
public void create_from_instantiation_spec_and_config_id() throws Exception {
ComponentModel model = new ComponentModel(
- BundleInstantiationSpecification.getFromStrings("id", "class", "bundle"), "configId");
+ BundleInstantiationSpecification.fromStrings("id", "class", "bundle"), "configId");
verifyBundleSpec(model);
assertEquals("configId", model.configId);
}