}
@Test
public void testAppliesBackground() {
Color color = shell.getDisplay().getSystemColor( SWT.COLOR_BLUE );
Rule rule = PassePartout.when( new AlwaysTrueContidtion() ).then( new BackgroundInstruction( color ) );
ResourceImpl resource = new ResourceImpl( rule );
resource.bindTo( shell );
assertEquals( color, shell.getBackground() );