mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-18 15:26:01 +00:00
deps: Refactor dependencies (#3224)
* remove spring dep move junit, logging, mockito under dep mgmt * upgrade anti-corruption-layer deps * async method invocation * balking, bloc * bridge to bytecode * caching * callback - cqrs * component - health check * hexagonal - metadata mapping * rest of the patterns * remove checkstyle, take spotless into use
This commit is contained in:
@@ -32,6 +32,6 @@ class ApplicationRoleObjectTest {
|
||||
|
||||
@Test
|
||||
void shouldExecuteApplicationWithoutException() {
|
||||
assertDoesNotThrow(() -> ApplicationRoleObject.main(new String[]{}));
|
||||
assertDoesNotThrow(() -> ApplicationRoleObject.main(new String[] {}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,4 +36,4 @@ class BorrowerRoleTest {
|
||||
borrowerRole.setName("test");
|
||||
assertEquals("Borrower test wants to get some money.", borrowerRole.borrow());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,5 +88,4 @@ class CustomerCoreTest {
|
||||
core = new CustomerCore();
|
||||
assertEquals("Customer{roles=[]}", core.toString());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,4 +37,4 @@ class InvestorRoleTest {
|
||||
investorRole.setAmountToInvest(10);
|
||||
assertEquals("Investor test has invested 10 dollars", investorRole.invest());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,4 +37,4 @@ class RoleTest {
|
||||
assertTrue(instance.isPresent());
|
||||
assertEquals(instance.get().getClass(), BorrowerRole.class);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user