@Test
public void testUsesMixedUnitsToComputeMargins() {
MarginInstruction instruction = new MarginInstruction( new Percentage( BigDecimal.valueOf( 10 ) ),
new Em( BigDecimal.ONE ),
new Percentage( BigDecimal.valueOf( 10 ) ),
new Pixel( 10 ) );
Bounds bounds = instruction.computeBounds( new Bounds( 0, 0, 100, 100 ), 10 );
assertEquals( 10, bounds.getX() );
assertEquals( 10, bounds.getY() );