@@ -0,0 +1,1015 @@
+package com.mpay24.payment;%0A%0Aimport static org.junit.Assert.assertNotNull;%0A%0Aimport java.text.ParseException;%0Aimport java.util.List;%0A%0Aimport org.apache.log4j.Logger;%0Aimport org.junit.After;%0Aimport org.junit.Test;%0A%0Aimport com.mpay24.payment.data.PaymentData;%0A%0Apublic class TestCreateCustomer extends AbstractTestCase %7B%0A%09public final static Logger log = Logger.getLogger(TestCreateCustomer.class);%0A%0A%09@After%0A%09public void tearDown() throws Exception %7B%0A%09%7D%0A%0A%09@Test%0A%09public void testCreateCreditCardCustomer() throws ParseException, PaymentException %7B%0A%09%09String customerId = %22max.mustermann@gmail.com%22;%0A%09%09deleteProfileForTest(customerId);%0A%09%09mpay24.createCustomer(getCustomer(), getVisaTestData());%0A%09%09List%3CPaymentData%3E storedPaymentDataList = mpay24.listCustomers(customerId, null, null, null);%0A%09%09assertNotNull(storedPaymentDataList);%0A%09%7D%0A%0A%09private void deleteProfileForTest(String customerId) %7B%0A%09%09try %7B%0A%09%09%09mpay24.deleteCustomer(customerId, null);%0A%09%09%7D catch (PaymentException e) %7B%0A%09%09%09// OK if Profile does not exist%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add new functionality to store a customer without a payment