@Ignore("Mraid 2.0")
@Config(reportSdk = Build.VERSION_CODES.ICE_CREAM_SANDWICH)
@Test
public void
createCalendarEvent_withValidParamsAllExceptRecurrence_atLeastICS_shouldCreateEventIntent() throws Exception {

    setupCalendarParams();
    params.put("location", "my house");
    params.put("end", "2013-08-14T22:01:01-0000");
    params.put("summary", "some description actually");
    params.put("transparency", "transparent");
    subject.createCalendarEvent(context, params);
    Intent intent = Robolectric.getShadowApplication().getNextStartedActivity();
    assertThat(intent.getType()).isEqualTo(ANDROID_CALENDAR_CONTENT_TYPE);
    assertThat(intent.getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK).isNotEqualTo(0);
    assertThat(intent.getStringExtra(CalendarContract.Events.TITLE)).isNotNull();
    assertThat(intent.getStringExtra(CalendarContract.Events.DESCRIPTION)).isNotNull();
    assertThat(intent.getStringExtra(CalendarContract.Events.EVENT_LOCATION)).isNotNull();
    assertThat(intent.getLongExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, -1)).isNotEqualTo(-1);
    assertThat(intent.getLongExtra(CalendarContract.EXTRA_EVENT_END_TIME, -1)).isNotEqualTo(-1);
    assertThat(intent.getIntExtra(CalendarContract.Events.AVAILABILITY, -1)).isEqualTo(CalendarContract.Events.AVAILABILITY_FREE);
}