aboutsummaryrefslogtreecommitdiffstats
path: root/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java')
-rw-r--r--models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java b/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java
index 64c164796..d47e194eb 100644
--- a/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java
+++ b/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderNodeTemplateTest.java
@@ -63,8 +63,8 @@ public class AuthorativeToscaProviderNodeTemplateTest {
private static ToscaServiceTemplate createToscaNodeTemplate;
private PfDao pfDao;
private StandardCoder standardCoder;
- private AuthorativeToscaProvider authorativeToscaProvider = new AuthorativeToscaProvider();
- private YamlJsonTranslator yamlJsonTranslator = new YamlJsonTranslator();
+ private final AuthorativeToscaProvider authorativeToscaProvider = new AuthorativeToscaProvider();
+ private final YamlJsonTranslator yamlJsonTranslator = new YamlJsonTranslator();
/**
* Read policy metadataSet input json.
@@ -230,7 +230,7 @@ public class AuthorativeToscaProviderNodeTemplateTest {
}
@Test
- public void testToscaNodeTemplatetDelete() throws Exception {
+ public void testToscaNodeTemplateDelete() throws Exception {
assertThatThrownBy(() -> {
authorativeToscaProvider.deleteToscaNodeTemplate(null, null, null);
}).hasMessageMatching(DAO_IS_NULL);