mil.dod.th.ose.utils/test/mil/dod/th/ose/utils/numbers/TestIntegers.java
@Test
    public void testParseHexOrDecimal_Empty()
    {
        try
        {
            Integers.parseHexOrDecimal(null);
            fail("Expecting exception");
        }
        catch (IllegalArgumentException e)
        {
            
        }
        
        try
        {
            Integers.parseHexOrDecimal("");
            fail("Expecting exception");
        }
        catch (IllegalArgumentException e)
        {
            
        }
    }
/**
     * Test empty or null values.
     */
Test empty or null values.
Test empty or null values .
@Test
    public void testParseHexOrDecimal_Empty()
    {
        try
        {
            Integers.parseHexOrDecimal(null);
            fail("Expecting exception");
        }
        catch (IllegalArgumentException e)
        {
        }
        try
        {
            Integers.parseHexOrDecimal("");
            fail("Expecting exception");
        }
        catch (IllegalArgumentException e)
        {
        }
    }
@ Test public void testParseHexOrDecimal_Empty ( ) { try { Integers . parseHexOrDecimal ( null ) ; fail ( "Expecting exception" ) ; } catch ( IllegalArgumentException e ) { } try { Integers . parseHexOrDecimal ( "" ) ; fail ( "Expecting exception" ) ; } catch ( IllegalArgumentException e ) { } }
Test empty or null values.
Test empty or null values .