@@ -0,0 +1,892 @@
+package io.shardingsphere.proxy.transport.mysql.packet.handshake;%0A%0Aimport org.junit.Test;%0A%0Aimport java.lang.reflect.Field;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0A%0Apublic class ConnectionIdGeneratorTest %7B%0A    %0A    private final ConnectionIdGenerator generator = ConnectionIdGenerator.getInstance();%0A    %0A    @Test%0A    public void assertNextId() %7B%0A        assertEquals(generator.nextId(), 1);%0A    %7D%0A    %0A    @Test%0A    public void assertMaxNextId() throws NoSuchFieldException, IllegalAccessException %7B%0A        Field currentId = generator.getClass().getDeclaredField(%22currentId%22);%0A        currentId.setAccessible(true);%0A        currentId.setInt(generator, 2147483647);%0A        assertEquals(1, generator.nextId());%0A    %7D%0A    %0A    @Test%0A    public void assertGetInstance() %7B%0A        assertTrue(null != ConnectionIdGenerator.getInstance());%0A    %7D%0A%7D

add ConnectionIdGeneratorTest.java