use of org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.NoAddress in project lispflowmapping by opendaylight.
the class LispAddressUtilTest method getNoAddressEid.
/**
* Tests {@link LispAddressUtil#getNoAddressEid()} method.
*/
@Test
public void getNoAddressEid() {
final Eid noAddressEid = LispAddressUtil.getNoAddressEid();
assertEquals(NoAddressAfi.class, noAddressEid.getAddressType());
assertNull(noAddressEid.getVirtualNetworkId());
assertTrue(((NoAddress) noAddressEid.getAddress()).isNoAddress());
}