I am trying to use FEST with an android app testing
I want to check if some views in the activity got created and initialized correctly
@Test
public void testSplashScreenActivity() throws Exception{
SplashScreenActivity activity = Robolectric.buildActivity(SplashScreenActivity.class).create().start().resume().get();
//here i want to write fest assertions
}
however, when i assertThat(activity.welcomeText)
..... nothing is allowed after this line?
i wrote import static org.fest.assertions.api.ANDROID.assertThat; in my imports, yet the api doesnt seem to be available
what to do to make my test project give me the api i need ?