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:
parent
d90c7fed48
commit
9144660a72
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue