mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/utils/TestHexConverter.java
@Test
    public void testHexStringFormats()
    {
        HexConverter hexConverter = new HexConverter();
        
        String hex = "0xffffffff";
        
        assertThat((Integer)hexConverter.getAsObject(null, null, hex), is(-1));
    }
/**
     * Test that the converter correctly converts a correctly formated string.
     */
Test that the converter correctly converts a correctly formated string.
Test that the converter correctly converts a correctly formated string .
@Test
    public void testHexStringFormats()
    {
        HexConverter hexConverter = new HexConverter();
        String hex = "0xffffffff";
        assertThat((Integer)hexConverter.getAsObject(null, null, hex), is(-1));
    }
@ Test public void testHexStringFormats ( ) { HexConverter hexConverter = new HexConverter ( ) ; String hex = "0xffffffff" ; assertThat ( ( Integer ) hexConverter . getAsObject ( null , null , hex ) , is ( - 1 ) ) ; }
Test that the converter correctly converts a correctly formated string.
Test that the converter correctly converts a correctly formated string .