X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fcommons%2Fprotocol-framework%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fprotocol%2Fframework%2FComplementaryTest.java;fp=opendaylight%2Fcommons%2Fprotocol-framework%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fprotocol%2Fframework%2FComplementaryTest.java;h=80e6ad9cde61f48a4e5d1f489b175344000fc771;hp=0000000000000000000000000000000000000000;hb=391180fcde6a7a2336182e346e24a1ff9f754062;hpb=1208cf638d47c7908604ab04eaf0e1dbaa67c9cb diff --git a/opendaylight/commons/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ComplementaryTest.java b/opendaylight/commons/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ComplementaryTest.java new file mode 100644 index 0000000000..80e6ad9cde --- /dev/null +++ b/opendaylight/commons/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ComplementaryTest.java @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2013 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.protocol.framework; + +import static org.junit.Assert.assertEquals; + +import org.junit.Test; + +@Deprecated +public class ComplementaryTest { + + @Test + public void testExceptions() { + final DeserializerException de = new DeserializerException("some error"); + final DocumentedException ee = new DocumentedException("some error"); + + assertEquals(de.getMessage(), ee.getMessage()); + } +}