class MyService {

    public String message(){
        return "this is module for helloworld.service method message";
    }

}

class MyServiceTest {

    @Autowired
    private MyService myService;

    @Test
    public void contextLoads(){

        assertThat(myService.message()).isNotNull();
    }

}