diff options
Diffstat (limited to 'policy-management/src/test/java/org/onap/policy/drools/system/internal/LockManagerTest.java')
-rw-r--r-- | policy-management/src/test/java/org/onap/policy/drools/system/internal/LockManagerTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/policy-management/src/test/java/org/onap/policy/drools/system/internal/LockManagerTest.java b/policy-management/src/test/java/org/onap/policy/drools/system/internal/LockManagerTest.java index 6b6e7363..01d7be98 100644 --- a/policy-management/src/test/java/org/onap/policy/drools/system/internal/LockManagerTest.java +++ b/policy-management/src/test/java/org/onap/policy/drools/system/internal/LockManagerTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ package org.onap.policy.drools.system.internal; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; -import static org.mockito.Matchers.any; +import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; @@ -64,7 +64,7 @@ public class LockManagerTest { MockitoAnnotations.initMocks(this); doAnswer(args -> { - args.getArgumentAt(0, Runnable.class).run(); + args.getArgument(0, Runnable.class).run(); return null; }).when(exsvc).execute(any()); |