}
public void testPaddingFromFile() throws Exception
{
final MasterReport basereport = new MasterReport();
basereport.setPageDefinition(new SimplePageDefinition(new PageFormat()));
final URL target = LayoutTest.class.getResource("padding-test.xml");
final ResourceManager rm = new ResourceManager();
rm.registerDefaults();
final Resource directly = rm.createDirectly(target, MasterReport.class);