} catch ( NoSuchElementException e ){}
}
@Test
public void testLoadAcceleratedTexture() throws Exception {
final TextureLoader loader = GraphicsEnv.getInstance().getTextureLoader();
loader.loadTexture( "Header", true);
loader.mustReload( "Header", false );
loader.mustReload( "Header", true );
loader.clear();
try {
loader.mustReload( "Header", true );
fail();
} catch ( NoSuchElementException e ){}
assertEquals( loader.getTexture( "Header", false ), null );
assertEquals( loader.getTexture( "Header", true ), null );
Image oldTexture = loader.loadTexture( "Header", true );
loader.reloadTextures();
Image newTexture = loader.getTexture( "Header", true );
assertNotSame( newTexture, oldTexture );
loader.getBaseDimension( "Header" );
loader.clear();
try {
loader.getBaseDimension( "Header" );
fail();
} catch ( NoSuchElementException e ){}
}