summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/aai/validation/reader/TestEventReader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/onap/aai/validation/reader/TestEventReader.java')
-rw-r--r--src/test/java/org/onap/aai/validation/reader/TestEventReader.java21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/test/java/org/onap/aai/validation/reader/TestEventReader.java b/src/test/java/org/onap/aai/validation/reader/TestEventReader.java
index 1d3e6d2..844c010 100644
--- a/src/test/java/org/onap/aai/validation/reader/TestEventReader.java
+++ b/src/test/java/org/onap/aai/validation/reader/TestEventReader.java
@@ -1,19 +1,22 @@
-/*
- * ============LICENSE_START===================================================
- * Copyright (c) 2018-2019 Amdocs
- * ============================================================================
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (c) 2018-2019 European Software Marketing Ltd.
+ * ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- * ============LICENSE_END=====================================================
+ * ============LICENSE_END=========================================================
*/
package org.onap.aai.validation.reader;
@@ -269,7 +272,9 @@ public class TestEventReader {
public void testEntityLinkIsStripped() throws Exception {
Entity entity = eventReader.getEntity(vserverEvent);
String entityLink = entity.getEntityLink();
- assertThat(entityLink, is(
- "cloud-infrastructure/cloud-regions/cloud-region/region1/AAIregion1/tenants/tenant/example-tenant-id-val-88551/vservers/vserver/example-vserver-id-val-34666"));
+ assertThat(entityLink,
+ is("cloud-infrastructure/cloud-regions/cloud-region/"
+ + "region1/AAIregion1/tenants/tenant/example-tenant-id-val-88551/"
+ + "vservers/vserver/example-vserver-id-val-34666"));
}
}