// Path: src/main/java/com/cardinity/Cardinity.java
// public abstract class Cardinity {
// 
//     public static final String API_BASE = "https://api.cardinity.com";
//     public static final String API_VERSION = "v1";
//     public static final String VERSION = "0.1";
//     public static final String ENCODING_CHARSET = "UTF-8";
// 
// }


import com.cardinity.Cardinity;
import org.junit.Test;
import java.lang.reflect.Constructor;
import java.lang.reflect.Modifier;
import java.util.UUID;
import static org.junit.Assert.*;
package com.cardinity.rest;




public class URLUtilsTest {

    @Test
    public void testConstructorIsPrivate() throws Exception {
        Constructor constructor = URLUtils.class.getDeclaredConstructor();
        assertTrue(Modifier.isPrivate(constructor.getModifiers()));
        constructor.setAccessible(true);
        Object o = constructor.newInstance();
        assertNotNull(o);
    }

    @Test
    public void testBuildUrl() throws Exception {
// Path: src/main/java/com/cardinity/Cardinity.java
// public abstract class Cardinity {
// 
//     public static final String API_BASE = "https://api.cardinity.com";
//     public static final String API_VERSION = "v1";
//     public static final String VERSION = "0.1";
//     public static final String ENCODING_CHARSET = "UTF-8";
// 
// }


// Path: src/test/java/com/cardinity/rest/URLUtilsTest.java
import com.cardinity.Cardinity;
import org.junit.Test;
import java.lang.reflect.Constructor;
import java.lang.reflect.Modifier;
import java.util.UUID;
import static org.junit.Assert.*;

package com.cardinity.rest;




public class URLUtilsTest {

    @Test
    public void testConstructorIsPrivate() throws Exception {
        Constructor constructor = URLUtils.class.getDeclaredConstructor();
        assertTrue(Modifier.isPrivate(constructor.getModifiers()));
        constructor.setAccessible(true);
        Object o = constructor.newInstance();
        assertNotNull(o);
    }

    @Test
    public void testBuildUrl() throws Exception {
        String url = Cardinity.API_BASE + "/v1/payments";