Does creating an activity using the .withIntent() not work in Robolectric 2? I\'m doing the following
.withIntent()
activity = Robolectric.buildActivity(
I figured out my problem. I wasn't instantiating the Intent properly. I was instantiating it with the no-arg constructor when i needed to give a Context and the class of the Activity it was being sent to
Intent
Context
Activity