mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/utils/TestBytesConverter.java
@Test
    public void testGetAsObject()
    {
        BytesConverter bytesConverter = new BytesConverter();
        
        try
        {
            bytesConverter.getAsObject(null, null, "500 KB");
            fail("Operation is not currently supported, expecting exception");
        }
        catch (UnsupportedOperationException e)
        {
            
        }
    }
/**
     * Test that the converter correctly reports not supporting conversion
     */
Test that the converter correctly reports not supporting conversion
Test that the converter correctly reports not supporting conversion
@Test
    public void testGetAsObject()
    {
        BytesConverter bytesConverter = new BytesConverter();
        try
        {
            bytesConverter.getAsObject(null, null, "500 KB");
            fail("Operation is not currently supported, expecting exception");
        }
        catch (UnsupportedOperationException e)
        {
        }
    }
@ Test public void testGetAsObject ( ) { BytesConverter bytesConverter = new BytesConverter ( ) ; try { bytesConverter . getAsObject ( null , null , "500 KB" ) ; fail ( "Operation is not currently supported, expecting exception" ) ; } catch ( UnsupportedOperationException e ) { } }
Test that the converter correctly reports not supporting conversion
Test that the converter correctly reports not supporting conversion