Search in sources :

Example 6 with RemoveMappingInput

use of org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.RemoveMappingInput in project lispflowmapping by opendaylight.

the class LispUtilTest method buildRemoveMappingInputTest.

/**
 * Tests {@link LispUtil#buildRemoveMappingInput} method.
 */
@Test
public void buildRemoveMappingInputTest() {
    final RemoveMappingInput expectedResult = new RemoveMappingInputBuilder().setEid(EID).build();
    final RemoveMappingInput result = LispUtil.buildRemoveMappingInput(EID);
    assertEquals(expectedResult, result);
}
Also used : RemoveMappingInput(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.RemoveMappingInput) RemoveMappingInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.RemoveMappingInputBuilder) Test(org.junit.Test)

Aggregations

RemoveMappingInput (org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.RemoveMappingInput)5 Test (org.junit.Test)4 RemoveMappingInputBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.RemoveMappingInputBuilder)3 PortUuidToPortDataMapper (org.opendaylight.lispflowmapping.neutron.mappingmanager.mappers.PortUuidToPortDataMapper)1 AddMappingInput (org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.AddMappingInput)1 RpcResult (org.opendaylight.yangtools.yang.common.RpcResult)1 PrepareForTest (org.powermock.core.classloader.annotations.PrepareForTest)1