package sinlov.toolsclass.verify;

import org.junit.Test; 
import org.junit.Before; 
import org.junit.After; 

/** 
* VerifyChinaIDCard Tester. 
* 
* @author <Authors name> 
* @since <pre>五月 19, 2017</pre> 
* @version 1.0 
*/ 
public class VerifyChinaIDCardTest { 

@Before
public void before() throws Exception { 
} 

@After
public void after() throws Exception { 
} 

/** 
* 
* Method: getInstance() 
* 
*/ 
@Test
public void testGetInstance() throws Exception { 
//TODO: Test goes here... 
} 

/** 
* 
* Method: authentication(String iDStr) 
* 
*/ 
@Test
public void testAuthentication() throws Exception { 
//TODO: Test goes here... 
} 

/** 
* 
* Method: getAreaCodeFull() 
* 
*/ 
@Test
public void testGetAreaCodeFull() throws Exception { 
//TODO: Test goes here... 
} 


/** 
* 
* Method: checkSortIDYearCode(String iDStr) 
* 
*/ 
@Test
public void testCheckSortIDYearCode() throws Exception { 
//TODO: Test goes here... 
/* 
try { 
   Method method = VerifyChinaIDCard.getClass().getMethod("checkSortIDYearCode", String.class); 
   method.setAccessible(true); 
   method.invoke(<Object>, <Parameters>); 
} catch(NoSuchMethodException e) { 
} catch(IllegalAccessException e) { 
} catch(InvocationTargetException e) { 
} 
*/ 
} 

/** 
* 
* Method: isNumeric(String str) 
* 
*/ 
@Test
public void testIsNumeric() throws Exception { 
//TODO: Test goes here... 
/* 
try { 
   Method method = VerifyChinaIDCard.getClass().getMethod("isNumeric", String.class); 
   method.setAccessible(true); 
   method.invoke(<Object>, <Parameters>); 
} catch(NoSuchMethodException e) { 
} catch(IllegalAccessException e) { 
} catch(InvocationTargetException e) { 
} 
*/ 
} 

/** 
* 
* Method: getAreaCode() 
* 
*/ 
@Test
public void testGetAreaCode() throws Exception { 
//TODO: Test goes here... 
/* 
try { 
   Method method = VerifyChinaIDCard.getClass().getMethod("getAreaCode"); 
   method.setAccessible(true); 
   method.invoke(<Object>, <Parameters>); 
} catch(NoSuchMethodException e) { 
} catch(IllegalAccessException e) { 
} catch(InvocationTargetException e) { 
} 
*/ 
} 

} 

package sinlov.toolsclass.verify; 

import org.junit.Test; 
import org.junit.Before; 
import org.junit.After; 

/** 
* VerifyChinaIDCard Tester. 
* 
* @author sinlov
* @since <pre>05/22/2017</pre> 
* @version 1.0 
*/ 
public class VerifyChinaIDCardTest {

    @Before
    public void before() throws Exception { 
    } 

    @After
    public void after() throws Exception { 
    } 

    /** 
     * 
     * Method: getInstance() 
     * 
     */ 
    @Test
    public void testGetInstance() throws Exception { 
        //TODO: Test goes here... 
    } 

    /** 
     * 
     * Method: authentication(String iDStr) 
     * 
     */ 
    @Test
    public void testAuthentication() throws Exception { 
        //TODO: Test goes here... 
    } 

    /** 
     * 
     * Method: getAreaCodeFull() 
     * 
     */ 
    @Test
    public void testGetAreaCodeFull() throws Exception { 
        //TODO: Test goes here... 
    } 


    /** 
     * 
     * Method: checkSortIDYearCode(String iDStr) 
     * 
     */ 
    @Test
    public void testCheckSortIDYearCode() throws Exception { 
        //TODO: Test goes here... 
        /*
        try {
           Method method = VerifyChinaIDCard.getClass().getMethod("checkSortIDYearCode", String.class);
           method.setAccessible(true);
           method.invoke(<Object>, <Parameters>);
        } catch(NoSuchMethodException e) {
        } catch(IllegalAccessException e) {
        } catch(InvocationTargetException e) {
        }
        */
    }

    /** 
     * 
     * Method: isNumeric(String str) 
     * 
     */ 
    @Test
    public void testIsNumeric() throws Exception { 
        //TODO: Test goes here... 
        /*
        try {
           Method method = VerifyChinaIDCard.getClass().getMethod("isNumeric", String.class);
           method.setAccessible(true);
           method.invoke(<Object>, <Parameters>);
        } catch(NoSuchMethodException e) {
        } catch(IllegalAccessException e) {
        } catch(InvocationTargetException e) {
        }
        */
    }

    /** 
     * 
     * Method: getAreaCode() 
     * 
     */ 
    @Test
    public void testGetAreaCode() throws Exception { 
        //TODO: Test goes here... 
        /*
        try {
           Method method = VerifyChinaIDCard.getClass().getMethod("getAreaCode");
           method.setAccessible(true);
           method.invoke(<Object>, <Parameters>);
        } catch(NoSuchMethodException e) {
        } catch(IllegalAccessException e) {
        } catch(InvocationTargetException e) {
        }
        */
    }

}

use new temple at unit test of code