@Test
public void postInsertForValidTrip() throws Exception {

    final String name = "name";
    when(mTrip1.getName()).thenReturn(name);
    when(mStorageManager.mkdir(name)).thenReturn(new File(name));
    mTripTableActionAlterations.postInsert(mTrip1)
            .test()
            .assertValue(mTrip1)
            .assertComplete()
            .assertNoErrors();
    verify(mTripsTable, never()).delete(mTrip1, new DatabaseOperationMetadata());
}