X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-remoterpc-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fremote%2Frpc%2Fmessages%2FRpcResponseTest.java;fp=opendaylight%2Fmd-sal%2Fsal-remoterpc-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fremote%2Frpc%2Fmessages%2FRpcResponseTest.java;h=0000000000000000000000000000000000000000;hp=f4ec377bb759a9f080493a10da3583b932ba751f;hb=927bce5688e4b9d33d3e5e9b769d8a0dba5ccdd4;hpb=a2b838f96589b502578fa4e15cef2769f886a378 diff --git a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/messages/RpcResponseTest.java b/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/messages/RpcResponseTest.java deleted file mode 100644 index f4ec377bb7..0000000000 --- a/opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/messages/RpcResponseTest.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2016 2015 Brocade Communications 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.remote.rpc.messages; - -import static org.junit.Assert.assertEquals; - -import org.apache.commons.lang.SerializationUtils; -import org.junit.Test; -import org.opendaylight.controller.remote.rpc.AbstractRpcTest; - -/** - * Unit tests for RpcResponse. - * - * @author Thomas Pantelis - */ -public class RpcResponseTest { - - @Test - public void testSerialization() { - RpcResponse expected = new RpcResponse(AbstractRpcTest.makeRPCOutput("serialization-test")); - - RpcResponse actual = (RpcResponse) SerializationUtils.clone(expected); - - assertEquals("getResultNormalizedNode", expected.getResultNormalizedNode(), actual.getResultNormalizedNode()); - } -}