Retrofit REST client for Android and Java does not terminate
问题 I am investigating the Retrofit REST client for Android and Java. Using a standard Java project within Eclipse I am using @POST with void return type. Making Asynchronous calls. Everything works as expected, however my test main method never terminates. I have to manually stop each test execution. What do I need to do (or stop doing) so that my tests terminate automatically? Here's my java code. import retrofit.Callback; import retrofit.RestAdapter; import retrofit.RetrofitError; import