blob: f95e83250314c2033460cd3cf711bb094f6976b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package org.onap.ccsdk.sli.northbound;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.onap.ccsdk.sli.core.sli.SvcLogicException;
import org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.northbound.lcm.rev180329.common.header.CommonHeader;
import org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.northbound.lcm.rev180329.status.Status;
public class TestLcmRpcInvocationException {
@Test(expected = SvcLogicException.class)
public void testLcmRpcInvocationException() throws SvcLogicException{
Status status = null;
CommonHeader commonHeader = null;
LcmRpcInvocationException exception = new LcmRpcInvocationException(status, commonHeader);
assert(exception.getStatus() == status);
assert(exception.getCommonHeader() == commonHeader);
throw exception;
}
}
|