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

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();
}