Fix test warnings
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / databroker / actors / dds / LocalReadWriteProxyTransactionTest.java
index 7eebfe02cad234c588aa2b3e000cc8f10bf3de34..7f1508d4d4e347bca4fed333c04a62e595b9437e 100644 (file)
@@ -147,7 +147,7 @@ public class LocalReadWriteProxyTransactionTest extends LocalProxyTransactionTes
     public void testFlushState() throws Exception {
         final TransactionTester<RemoteProxyTransaction> transactionTester = createRemoteProxyTransactionTester();
         final RemoteProxyTransaction successor = transactionTester.getTransaction();
-        doAnswer(this::applyToCursorAnswer).when(modification).applyToCursor(any());
+        doAnswer(LocalProxyTransactionTest::applyToCursorAnswer).when(modification).applyToCursor(any());
         transaction.doSeal();
         transaction.flushState(successor);
         verify(modification).applyToCursor(any());