BGPCEP-754: Rework EffectiveRibInWriter
[bgpcep.git] / bgp / openconfig-rp-statement / src / test / java / org / opendaylight / protocol / bgp / openconfig / routing / policy / statement / ExportDefaultStatementTest.java
index 1ae8e5a58639b400a24344d52b66ed724b39af59..9761cad4fdf6fa57f4a2e4d4c15c119ba508e69a 100644 (file)
@@ -10,9 +10,6 @@ package org.opendaylight.protocol.bgp.openconfig.routing.policy.statement;
 import static org.junit.Assert.assertEquals;
 import static org.mockito.Mockito.doReturn;
 import static org.opendaylight.protocol.bgp.openconfig.routing.policy.spi.registry.RouteAttributeContainer.routeAttributeContainerFalse;
-import static org.opendaylight.protocol.bgp.openconfig.routing.policy.statement.ExportAttributeTestUtil.CLUSTER;
-import static org.opendaylight.protocol.bgp.openconfig.routing.policy.statement.ExportAttributeTestUtil.IPV4;
-import static org.opendaylight.protocol.bgp.openconfig.routing.policy.statement.ExportAttributeTestUtil.LOCAL_AS;
 import static org.opendaylight.protocol.bgp.openconfig.routing.policy.statement.ExportAttributeTestUtil.createClusterInput;
 import static org.opendaylight.protocol.bgp.openconfig.routing.policy.statement.ExportAttributeTestUtil.createInputWithOriginator;
 import static org.opendaylight.protocol.bgp.openconfig.routing.policy.statement.ExportAttributeTestUtil.createPathInput;
@@ -47,7 +44,6 @@ public class ExportDefaultStatementTest extends AbstractStatementRegistryConsume
     public void setUp() throws Exception {
         super.setUp();
         this.defaultExportStatements = loadStatement("default-odl-export-policy");
-        doReturn(ROUTE_ID_PA).when(this.exportParameters).getRouteId();
         this.baseAttributes = new PolicyRIBBaseParametersImpl(LOCAL_AS, IPV4, CLUSTER);
     }
 
@@ -168,7 +164,6 @@ public class ExportDefaultStatementTest extends AbstractStatementRegistryConsume
             final Statement statement, final PeerRole fromPeerRole,
             final RouteAttributeContainer attInput,
             final Attributes attExpected) {
-
         doReturn(fromPeerRole).when(this.exportParameters).getFromPeerRole();
 
         RouteAttributeContainer result = this.statementRegistry.applyExportStatement(