java.lang.ClassCastException: android.app.Application cannot be cast to BLALBLA classAnd if you are using Robolectric 2.+ the way to solve this is to annotate your test with
@Configlike so:
You can annotate also annotate the whole suite.
java.lang.ClassCastException: android.app.Application cannot be cast to BLALBLA classAnd if you are using Robolectric 2.+ the way to solve this is to annotate your test with
@Configlike so: