Skip to content

Commit c620018

Browse files
small fix
1 parent a16790d commit c620018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/network-elements/internal-loadbalancer/src/test/java/org/apache/cloudstack/internallbvmmgr/InternalLBVMServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
import org.junit.Before;
3535
import org.junit.Test;
3636
import org.junit.runner.RunWith;
37+
import org.mockito.ArgumentMatchers;
3738
import org.mockito.BDDMockito;
38-
import org.mockito.Matchers;
3939
import org.mockito.MockedStatic;
4040
import org.mockito.Mockito;
4141
import org.springframework.test.context.ContextConfiguration;
@@ -113,7 +113,7 @@ public void setUp() {
113113

114114
Mockito.when(_accountMgr.getSystemUser()).thenReturn(new UserVO(1));
115115
Mockito.when(_accountMgr.getSystemAccount()).thenReturn(new AccountVO(2));
116-
Mockito.when(_accountDao.findByIdIncludingRemoved(Matchers.anyLong())).thenReturn(new AccountVO(2));
116+
Mockito.when(_accountDao.findByIdIncludingRemoved(ArgumentMatchers.anyLong())).thenReturn(new AccountVO(2));
117117
CallContext.register(_accountMgr.getSystemUser(), _accountMgr.getSystemAccount());
118118

119119
final DomainRouterVO validVm =

0 commit comments

Comments
 (0)