mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 20:59:07 +00:00
docs: update dependency injection
This commit is contained in:
+2
-2
@@ -58,7 +58,7 @@ class GuiceWizardTest {
|
||||
* through the constructor parameter
|
||||
*/
|
||||
@Test
|
||||
void testSmokeEveryThingThroughConstructor() throws Exception {
|
||||
void testSmokeEveryThingThroughConstructor() {
|
||||
|
||||
List<Tobacco> tobaccos = List.of(
|
||||
new OldTobyTobacco(),
|
||||
@@ -83,7 +83,7 @@ class GuiceWizardTest {
|
||||
* through the Guice google inject framework
|
||||
*/
|
||||
@Test
|
||||
void testSmokeEveryThingThroughInjectionFramework() throws Exception {
|
||||
void testSmokeEveryThingThroughInjectionFramework() {
|
||||
|
||||
List<Class<? extends Tobacco>> tobaccos = List.of(
|
||||
OldTobyTobacco.class,
|
||||
|
||||
Reference in New Issue
Block a user