@Test
public void postUpdateForTripWithSameName() throws Exception {

    final String name = "name";
    when(mTrip1.getName()).thenReturn(name);
    when(mTrip2.getName()).thenReturn(name);
    when(mTrip1.getDirectory()).thenReturn(new File(name));
    when(mTrip2.getDirectory()).thenReturn(new File(name));
    mTripTableActionAlterations.postUpdate(mTrip1, mTrip2)
            .test()
            .assertValue(mTrip2)
            .assertComplete()
            .assertNoErrors();
    verify(mTrip2).setPrice(mPrice1);
    verify(mTrip2).setDailySubTotal(mPrice2);
    verifyZeroInteractions(mStorageManager, mReceiptsTable, mDistanceTable);
}