docs: update dependency injection

This commit is contained in:
Ilkka Seppälä
2024-04-08 21:20:50 +03:00
parent c1466eb66e
commit 0b850aa764
6 changed files with 68 additions and 38 deletions
@@ -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,