@Test
public void testModifyPaymenttype() {

    UkelonnService ukelonn = getUkelonnServiceSingleton();
    // Find a payment type
    List<TransactionType> paymenttypes = ukelonn.getPaymenttypes();
    TransactionType paymenttype = paymenttypes.get(0);
    Double originalAmount = paymenttype.getTransactionAmount();
    // Modify the amount of the payment type
    paymenttype.setTransactionAmount(originalAmount + 1);
    // Update the payment type in the database
    List<TransactionType> updatedPaymenttypes = ukelonn.modifyPaymenttype(paymenttype);
    // Verify that the updated amount is larger than the original amount
    TransactionType updatedPaymenttype = updatedPaymenttypes.get(0);
    assertThat(updatedPaymenttype.getTransactionAmount()).isGreaterThan(originalAmount);
}