Fix findbugs violations in netconf
[netconf.git] / netconf / netconf-netty-util / src / test / java / org / opendaylight / netconf / nettyutil / handler / EOMFramingMechanismEncoderTest.java
index 748e55c47afd3992db4e7fc3616532465b599457..b00de8ad5f0b9d8413b4865eb4117238a2d79c2e 100644 (file)
@@ -13,7 +13,6 @@ import static org.junit.Assert.assertEquals;
 import io.netty.buffer.ByteBuf;
 import io.netty.buffer.Unpooled;
 import org.junit.Test;
-import org.opendaylight.netconf.util.messages.NetconfMessageConstants;
 
 public class EOMFramingMechanismEncoderTest {
 
@@ -24,6 +23,6 @@ public class EOMFramingMechanismEncoderTest {
         final ByteBuf destination = Unpooled.buffer();
         new EOMFramingMechanismEncoder().encode(null, source, destination);
 
-        assertEquals(Unpooled.wrappedBuffer(source.array(), NetconfMessageConstants.END_OF_MESSAGE), destination);
+        assertEquals(Unpooled.wrappedBuffer(source.array(), MessageParts.END_OF_MESSAGE), destination);
     }
-}
\ No newline at end of file
+}