Update LazyRequestUnitTest.java

This commit is contained in:
Loredana Crusoveanu 2019-02-23 23:46:23 +02:00 committed by GitHub
parent 7d9db8d27e
commit a966ec5aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ public class LazyRequestUnitTest {
LazyRequest request = LazyRequestImpl.lazy(() -> mockSupplier.get());
Mockito.verify(mockSupplier, Mockito.times(0)).get();
// Assert.assertEquals(LazyRequestImpl.getPath(request), "http://test.com/get");
// Mockito.verify(mockSupplier, Mockito.times(1)).get();
Assert.assertEquals(LazyRequestImpl.getPath(request), "http://test.com/get");
Mockito.verify(mockSupplier, Mockito.times(1)).get();
}