X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Faai%2Fmodelloader%2Fservice%2FTestArtifactInfoImpl.java;h=a791b4609147b2276bf2515dfc44c8a350cdfefd;hb=0b4016fbde53d49f9511a4253e22285681840572;hp=366d5a5a1ebc21ba0feb925035b9061f076b32de;hpb=6e4f04afea4c2d07fdd9c15eda38438c7baeb308;p=aai%2Fmodel-loader.git diff --git a/src/test/java/org/onap/aai/modelloader/service/TestArtifactInfoImpl.java b/src/test/java/org/onap/aai/modelloader/service/TestArtifactInfoImpl.java index 366d5a5..a791b46 100644 --- a/src/test/java/org/onap/aai/modelloader/service/TestArtifactInfoImpl.java +++ b/src/test/java/org/onap/aai/modelloader/service/TestArtifactInfoImpl.java @@ -1,5 +1,5 @@ /** - * ============LICENSE_START======================================================= + * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. @@ -24,8 +24,8 @@ import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.nullValue; +import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.empty; -import static org.junit.Assert.assertThat; import org.junit.Test; @@ -39,19 +39,19 @@ public class TestArtifactInfoImpl { public void testGettersAndSetters() { ArtifactInfoImpl info = new ArtifactInfoImpl(); String artifactName = "testname"; - String artifactType = "test-type"; - String artifactVersion = "v1"; - String artifactDescription = "test description"; info.setArtifactName(artifactName); assertThat(info.getArtifactName(), is(equalTo(artifactName))); + String artifactType = "test-type"; info.setArtifactType(artifactType); assertThat(info.getArtifactType(), is(equalTo(artifactType))); + String artifactVersion = "v1"; info.setArtifactVersion(artifactVersion); assertThat(info.getArtifactVersion(), is(equalTo(artifactVersion))); + String artifactDescription = "test description"; info.setArtifactDescription(artifactDescription); assertThat(info.getArtifactDescription(), is(equalTo(artifactDescription)));