assertEquals( 100, bounds.getHeight() );
}
@Test
public void testUsesPixelToComputeMargins() {
MarginInstruction instruction = new MarginInstruction( new Pixel( 5 ),
new Pixel( 5 ),
new Pixel( 5 ),
new Pixel( 5 ) );
Bounds bounds = instruction.computeBounds( new Bounds( 0, 0, 100, 100 ), 16 );
assertEquals( 5, bounds.getX() );
assertEquals( 5, bounds.getY() );