BUG-159 : Removed PCEPDocumentedException.
[bgpcep.git] / pcep / api / src / test / java / org / opendaylight / protocol / pcep / api / APITest.java
index 0e0c1267d637c2fb535cefdb2180d835abb773ee..62907a63755c600eb8f93cab758f79b4a6ac5720 100644 (file)
@@ -12,8 +12,6 @@ import static org.junit.Assert.assertTrue;
 
 import org.junit.Test;
 import org.opendaylight.protocol.pcep.PCEPDeserializerException;
-import org.opendaylight.protocol.pcep.PCEPDocumentedException;
-import org.opendaylight.protocol.pcep.PCEPErrors;
 
 public class APITest {
 
@@ -26,10 +24,4 @@ public class APITest {
                assertEquals("Some error message.", e1.getErrorMessage());
                assertTrue(e1.getCause() instanceof IllegalArgumentException);
        }
-
-       @Test
-       public void testDocumentedException() throws PCEPDocumentedException {
-               final PCEPDocumentedException de = new PCEPDocumentedException("", PCEPErrors.C_BIT_SET);
-               assertEquals(PCEPErrors.C_BIT_SET, de.getError());
-       }
 }