Delete netconf
[controller.git] / opendaylight / netconf / netconf-netty-util / src / test / java / org / opendaylight / controller / netconf / nettyutil / handler / EOMFramingMechanismEncoderTest.java
diff --git a/opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/EOMFramingMechanismEncoderTest.java b/opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/EOMFramingMechanismEncoderTest.java
deleted file mode 100644 (file)
index 158f3a8..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.netconf.nettyutil.handler;
-
-import static org.junit.Assert.assertEquals;
-
-import io.netty.buffer.ByteBuf;
-import io.netty.buffer.Unpooled;
-import org.junit.Test;
-import org.opendaylight.controller.netconf.util.messages.NetconfMessageConstants;
-
-public class EOMFramingMechanismEncoderTest {
-
-    @Test
-    public void testEncode() throws Exception {
-        final byte[] content = new byte[50];
-        final ByteBuf source = Unpooled.wrappedBuffer(content);
-        final ByteBuf destination = Unpooled.buffer();
-        new EOMFramingMechanismEncoder().encode(null, source, destination);
-
-        assertEquals(Unpooled.wrappedBuffer(source.array(), NetconfMessageConstants.END_OF_MESSAGE), destination);
-    }
-}
\ No newline at end of file