@Test
public void testInteger2Boolean() throws Exception {

  BindingConvertor<Integer, Boolean> bc = BindingConvertor.integer2Boolean();
  assertTrue( bc.sourceToTarget( 1 ) );
  assertTrue( bc.sourceToTarget( Integer.MAX_VALUE ) );
  assertFalse( bc.sourceToTarget( 0 ) );
  assertFalse( bc.sourceToTarget( Integer.MIN_VALUE ) );
  assertEquals( Integer.valueOf( 1 ), bc.targetToSource( true ) );
  assertEquals( Integer.valueOf( 0 ), bc.targetToSource( false ) );
}