BAEL-4756 - Mockito MockSettings - fix spelling (#10438)

* BAEL-4706 - Spring Boot with Spring Batch

* BAEL-3948 - Fix test(s) in spring-batch which leaves repository.sqlite
changed

* BAEL-4736 - Convert JSONArray to List of Object using camel-jackson

* BAEL-4756 - Mockito MockSettings

* BAEL-4756 - Mockito MockSettings - fix spelling

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
This commit is contained in:
Jonathan Cook 2021-01-23 07:08:50 +01:00 committed by GitHub
parent d90c7fed48
commit 9144660a72
1 changed files with 2 additions and 2 deletions

View File

@ -47,10 +47,10 @@ public class MockSettingsUnitTest {
@Test
public void whenMockSetupWithConstructor_thenConstructorIsInvoked() {
AbstractCoffee coffeeSpy = mock(AbstractCoffee.class, withSettings().useConstructor("expresso")
AbstractCoffee coffeeSpy = mock(AbstractCoffee.class, withSettings().useConstructor("espresso")
.defaultAnswer(CALLS_REAL_METHODS));
assertEquals("Coffee name: ", "expresso", coffeeSpy.getName());
assertEquals("Coffee name: ", "espresso", coffeeSpy.getName());
}
}