@Test public void testInjectFromComponentWithSingleParameter() { assertThat(mainService).isNotNull(); assertThat(mainService.get()).isEqualTo("test1"); }