@Test public void getOriginTransaction() throws Exception { CashMoneyRestockTransactionImpl cashMoneyRestockTransaction = mock(CashMoneyRestockTransactionImpl.class); when(cashMoneyRestockTransaction.getOriginTransaction()).thenReturn(originTransaction); assertThat(cashMoneyRestockTransaction.getOriginTransaction()).isNotNull(); }
@Test public void getAmount() throws Exception { CashMoneyRestockTransactionImpl cashMoneyRestockTransaction = mock(CashMoneyRestockTransactionImpl.class); when(cashMoneyRestockTransaction.getAmount()).thenReturn(BigDecimal.ONE); assertThat(cashMoneyRestockTransaction.getAmount()).isNotNull(); }