@Test
public void postDeleteSuccessWithFile() throws Exception {

    final File file = new File("abc");
    when(receipt.getFile()).thenReturn(file);
    receiptTableActionAlterations.postDelete(receipt)
            .test()
            .assertValue(receipt)
            .assertComplete()
            .assertNoErrors();
    verify(storageManager).delete(file);
}