@Test
public void testCreatePaymenttype() {

    UkelonnService ukelonn = getUkelonnServiceSingleton();
    // Get the list of payment types before adding a new job type
    List<TransactionType> originalPaymenttypes = ukelonn.getPaymenttypes();
    // Create new payment type
    TransactionType paymenttype = new TransactionType(-1, "Vipps", 0.0, false, true);
    // Update the payments type in the database
    List<TransactionType> updatedPaymenttypes = ukelonn.createPaymenttype(paymenttype);
    // Verify that a new payment type has been added
    assertThat(updatedPaymenttypes.size()).isGreaterThan(originalPaymenttypes.size());
}