X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=models-interactions%2Fmodel-impl%2Fevents%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fpolicy%2Fcontrolloop%2FCanonicalOnsetTest.java;h=01eaa3d6a78ad1d3da2cb5d7c218c986cf768f72;hb=7b11ab5c03a438aa29ff2242fa06bb8ff28c2867;hp=23e1fffbd18dccefa844a91f98fe4a2e0a846f72;hpb=bacd5a6f57e79f26d447644329b585991f989123;p=policy%2Fmodels.git diff --git a/models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/CanonicalOnsetTest.java b/models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/CanonicalOnsetTest.java index 23e1fffbd..01eaa3d6a 100644 --- a/models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/CanonicalOnsetTest.java +++ b/models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/CanonicalOnsetTest.java @@ -3,6 +3,7 @@ * ONAP * ================================================================================ * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2024 Nordix Foundation * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,17 +21,17 @@ package org.onap.policy.controlloop; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotEquals; import java.time.Instant; import java.util.UUID; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class CanonicalOnsetTest { +class CanonicalOnsetTest { @Test - public void testConstructors() { + void testConstructors() { CanonicalOnset onset1 = new CanonicalOnset(new VirtualControlLoopEvent()); onset1.setRequestId(UUID.randomUUID()); onset1.setClosedLoopAlarmStart(Instant.now());