Skip to content

Commit 4396b44

Browse files
committed
add test for method injected rest services
1 parent 40b6f7d commit 4396b44

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • AndroidAnnotations/androidannotations-rest-spring/rest-spring-test/src/main/java/org/androidannotations/rest/spring/test

‎AndroidAnnotations/androidannotations-rest-spring/rest-spring-test/src/main/java/org/androidannotations/rest/spring/test/EBeanUsingService.java‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,10 @@ void callSomeService(Event event, int id) {
3030
myService.updateEvent(event, id);
3131
}
3232

33+
@RestService
34+
void methodInjectedRestService(MyService myService) {
35+
}
36+
37+
void multiInjectedRestService(@RestService MyService myService, @RestService MyService myService2) {
38+
}
3339
}

0 commit comments

Comments
 (0)