-/*\r
- * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.openflowjava.protocol.impl.core.connection;\r
-\r
-import org.junit.Assert;\r
-import org.junit.Test;\r
-import org.opendaylight.openflowjava.protocol.impl.core.connection.MessageListenerWrapper;\r
-import org.opendaylight.openflowjava.protocol.impl.core.connection.SimpleRpcListener;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.HelloInput;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.HelloInputBuilder;\r
-\r
-/**\r
- * @author michal.polkorab\r
- *\r
- */\r
-public class MessageListenerWrapperTest {\r
-\r
- /**\r
- * Test MessageListenerWrapper creation\r
- */\r
- @Test\r
- public void test() {\r
- HelloInputBuilder builder = new HelloInputBuilder();\r
- HelloInput hello = builder.build();\r
- SimpleRpcListener listener = new SimpleRpcListener(hello, "Error");\r
- MessageListenerWrapper wrapper = new MessageListenerWrapper(hello, listener);\r
- Assert.assertEquals("Wrong message", hello, wrapper.getMsg());\r
- Assert.assertEquals("Wrong listener", listener, wrapper.getListener());\r
- }\r
+/*
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. 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.openflowjava.protocol.impl.core.connection;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.opendaylight.openflowjava.protocol.impl.core.connection.MessageListenerWrapper;
+import org.opendaylight.openflowjava.protocol.impl.core.connection.SimpleRpcListener;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.HelloInput;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.HelloInputBuilder;
+
+/**
+ * @author michal.polkorab
+ *
+ */
+public class MessageListenerWrapperTest {
+
+ /**
+ * Test MessageListenerWrapper creation
+ */
+ @Test
+ public void test() {
+ HelloInputBuilder builder = new HelloInputBuilder();
+ HelloInput hello = builder.build();
+ SimpleRpcListener listener = new SimpleRpcListener(hello, "Error");
+ MessageListenerWrapper wrapper = new MessageListenerWrapper(hello, listener);
+ Assert.assertEquals("Wrong message", hello, wrapper.getMsg());
+ Assert.assertEquals("Wrong listener", listener, wrapper.getListener());
+ }
}
\ No newline at end of file