rename method
This commit is contained in:
parent
04e10f4adf
commit
d5490dd794
|
@ -5,6 +5,7 @@ import static org.mockito.BDDMockito.given;
|
|||
import static org.mockito.Mockito.times;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
|
@ -79,7 +79,7 @@ class CustomerServiceCachingIntegrationTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
void givenCustomerIsPresentInDB_whenGetCustomerByIdIsCalledThrice_thenCustomerReturnedFromDBAndCached() throws InterruptedException {
|
||||
void givenCustomerIsPresentInDB_whenGetCustomerByIdIsCalledTwice_AndFirstCacheExpires_thenCustomerReturnedFromDBAndCached() throws InterruptedException {
|
||||
String CUSTOMER_ID = "102";
|
||||
Customer customer = new Customer(CUSTOMER_ID, "test", "test@mail.com");
|
||||
given(customerRepository.findById(CUSTOMER_ID))
|
||||
|
|
Loading…
Reference in New Issue