Package com.alibaba.druid.bvt.utils

Source Code of com.alibaba.druid.bvt.utils.PGUtilsTest

package com.alibaba.druid.bvt.utils;

import junit.framework.TestCase;

import org.junit.Assert;

import com.alibaba.druid.util.PGUtils;

public class PGUtilsTest extends TestCase {

    public void test_error() throws Exception {
        new PGUtils();

        Exception error = null;
        try {
            PGUtils.createXAConnection(null);
        } catch (Exception e) {
            error = e;
        }
        Assert.assertNotNull(error);
    }
}
TOP

Related Classes of com.alibaba.druid.bvt.utils.PGUtilsTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.