*/
package org.opendaylight.transportpce.servicehandler;
-import org.junit.Assert;
-import org.junit.Test;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+import org.junit.jupiter.api.Test;
public class ServiceEndpointTypeTest {
@Test
- public void testgetIntValue() {
- Assert.assertEquals(1, ServiceEndpointType.SERVICEAEND.getIntValue());
- Assert.assertEquals(2, ServiceEndpointType.SERVICEZEND.getIntValue());
+ void testgetIntValue() {
+ assertEquals(1, ServiceEndpointType.SERVICEAEND.getIntValue());
+ assertEquals(2, ServiceEndpointType.SERVICEZEND.getIntValue());
}
@Test
- public void testForValue() {
- Assert.assertEquals(ServiceEndpointType.SERVICEAEND, ServiceEndpointType.forValue(1));
- Assert.assertEquals(ServiceEndpointType.SERVICEZEND, ServiceEndpointType.forValue(2));
+ void testForValue() {
+ assertEquals(ServiceEndpointType.SERVICEAEND, ServiceEndpointType.forValue(1));
+ assertEquals(ServiceEndpointType.SERVICEZEND, ServiceEndpointType.forValue(2));
}
-
-}
+}
\ No newline at end of file