Update LazyRequestUnitTest.java
This commit is contained in:
parent
7d9db8d27e
commit
a966ec5aee
|
@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue