X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=transportpce.git;a=blobdiff_plain;f=common%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fcommon%2Fmapping%2FSortPort221ByNameTest.java;h=ceb55557ba72c9fb6d26197bda64e9b4b67f372b;hp=77c8094720e3620447bd427b86abe28df9c02d0b;hb=0250f5ba4fe91a980e34a6cb63b5fbe056d0325b;hpb=c12a0eefdd386e48847520e5d1568404865e7fc9 diff --git a/common/src/test/java/org/opendaylight/transportpce/common/mapping/SortPort221ByNameTest.java b/common/src/test/java/org/opendaylight/transportpce/common/mapping/SortPort221ByNameTest.java index 77c809472..ceb55557b 100644 --- a/common/src/test/java/org/opendaylight/transportpce/common/mapping/SortPort221ByNameTest.java +++ b/common/src/test/java/org/opendaylight/transportpce/common/mapping/SortPort221ByNameTest.java @@ -12,16 +12,11 @@ import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import org.junit.Before; import org.junit.Test; import org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.Port; public class SortPort221ByNameTest { - @Before - public void setUp() throws Exception { - } - @Test public void compareTest() { Port port1 = mock(Port.class); @@ -30,6 +25,5 @@ public class SortPort221ByNameTest { when(port2.getPortName()).thenReturn("port2"); SortPort221ByName sortPort221ByName = new SortPort221ByName(); assertEquals(sortPort221ByName.compare(port2, port1), 1); - } } \ No newline at end of file