import org.junit.Test;
import org.opendaylight.lispflowmapping.implementation.LispMappingService;
import org.opendaylight.lispflowmapping.implementation.MappingService;
import org.junit.Test;
import org.opendaylight.lispflowmapping.implementation.LispMappingService;
import org.opendaylight.lispflowmapping.implementation.MappingService;
public void handleMapRequest__ReplyWithSingleLocator() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v4Address).build());
public void handleMapRequest__ReplyWithSingleLocator() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v4Address).build());
public void handleMapRequest__VerifyBasicFields() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v4Address).build());
public void handleMapRequest__VerifyBasicFields() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v4Address).build());
public void handleMapRequest__VerifyMask() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v4Address).build());
public void handleMapRequest__VerifyMask() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v4Address).build());
public void handleMapRequest__VerifyMaskIPv6() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v6Address).build());
public void handleMapRequest__VerifyMaskIPv6() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v6Address).build());
public void handleMapRequest__VerifyMaskIPv6NoMatch() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v6Address).build());
public void handleMapRequest__VerifyMaskIPv6NoMatch() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v6Address).build());
public void handleMapRequest_VerifyNativelyForwardAuthorized() {
MapRequest mr = getDefaultMapRequest();
public void handleMapRequest_VerifyNativelyForwardAuthorized() {
MapRequest mr = getDefaultMapRequest();
private MapReply getNativelyForwardMapReply(MapRequest mr, Map<String, MappingRecord> result) {
allowing(dao).get(wany(Eid.class));
ret(result);
private MapReply getNativelyForwardMapReply(MapRequest mr, Map<String, MappingRecord> result) {
allowing(dao).get(wany(Eid.class));
ret(result);
public void handleMapRequest__VerifyMaskNoMatch() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v4Address).build());
public void handleMapRequest__VerifyMaskNoMatch() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
mapRequest.getEidItem().add(new EidItemBuilder().setEid(v4Address).build());
public void handleMapRequest__ReplyWithMultipleLocators() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
public void handleMapRequest__ReplyWithMultipleLocators() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
public void handleMapRequest__MultipleEIDs() throws Exception {
mapRequest = getDefaultMapRequestBuilder();
public void handleMapRequest__MultipleEIDs() throws Exception {
mapRequest = getDefaultMapRequestBuilder();