@@ -0,0 +1,932 @@
+package co.omise.resources;%0A%0Aimport co.omise.models.OmiseException;%0Aimport co.omise.models.Source;%0Aimport org.junit.Test;%0A%0Aimport java.io.IOException;%0A%0Apublic class SourceResourceTest extends ResourceTest %7B%0A%0A    @Test%0A    public void testCreateAliPaySource() throws IOException, OmiseException %7B%0A        Source source = resource().create(new Source.Create()%0A                .amount(100000)%0A                .currency(%22thb%22)%0A                .type(%22alipay%22)%0A                .barcode(%22xyz%22)%0A                .invoiceId(%22abc%22));%0A%0A        assertRequested(%22POST%22, %22/sources%22, 200);%0A        assertEquals(100000L, source.getAmount());%0A        assertEquals(%22thb%22, source.getCurrency());%0A        assertEquals(%22alipay%22, source.getType());%0A        assertEquals(%22xyz%22, source.getBarcode());%0A        assertEquals(%22abc%22, source.getInvoiceId());%0A    %7D%0A%0A    private SourceResource resource() %7B%0A        return new SourceResource(testClient());%0A    %7D%0A%7D%0A

Create unit test to source.