assertEquals( new Bounds( 0, 0, 150, 300 ), bounds );
}
@Test
public void testComputesBoundsWithMarginInstrutions() {
Layouter layouter = new Layouter( createEnvironment( new Bounds( 0, 0, 600, 200 ) ), createConfig() );
ArrayList<Instruction> instructions = new ArrayList<Instruction>();
instructions.add( new MarginInstruction( px( 5 ), px( 10 ), px( 20 ), px( 30 ) ) );
Bounds bounds = layouter.computeBounds( new Bounds( 0, 0, 100, 100 ), instructions );
assertEquals( new Bounds( 30, 5, 110, 75 ), bounds );
}