@Test
public void testChangeTimeAmountQuantity() {

    TimeFrame timeFrame = TimeFrame.parse("now -1year till now");
    timeFrameEditor.init(timeFrame, changeCommand);
    long qb = timeFrame.getFrom().getTimeAmount().getQuantity();
    fromAmountEditor.decreaseQuantity();
    long qa = timeFrame.getFrom().getTimeAmount().getQuantity();
    verify(changeCommand).execute();
    assertEquals(qb - 1, qa);
}