public void testCompliesNotWithWidthSmallerThanMinWidthInPercentage() {
MinWidthCondition condition = new MinWidthCondition( new Percentage( BigDecimal.valueOf( 10 ) ) );
Bounds bounds = new Bounds( 10, 10, 9, 0 );
Bounds referenceBounds = new Bounds( 10, 10, 100, 0 );
boolean complies = condition.compliesWith( new UIEnvironmentImpl( bounds, referenceBounds, 16 ) );
assertFalse( complies );
}