@Test public void testBooleanConverters() throws Exception { ConverterLoader loader = new BooleanConverters(); loader.loadConverters(); assertFromBoolean("BooleanToInteger", new BooleanConverters.BooleanToInteger(), 1, 0); assertFromBoolean("BooleanToString", new BooleanConverters.BooleanToString(), "true", "false"); assertToBoolean("IntegerToBoolean", new BooleanConverters.IntegerToBoolean(), 1, 0); assertToBoolean("StringToBoolean", new BooleanConverters.StringToBoolean(), "true", "false"); assertToCollection("BooleanToCollection", Boolean.TRUE); }
@Override public void loadConverters() { Converters.loadContainedConverters(BooleanConverters.class); }
BooleanConverters implements ConverterLoader { @Override public void loadConverters() { Converters.loadContainedConverters(BooleanConverters.class); } }
BooleanConverters implements ConverterLoader { @Override public void loadConverters() { Converters.loadContainedConverters(BooleanConverters.class); }  }
BooleanConverters implements ConverterLoader { @Override public void loadConverters() { Converters.loadContainedConverters(BooleanConverters.class); }  @Override void loadConverters(); }
BooleanConverters implements ConverterLoader { @Override public void loadConverters() { Converters.loadContainedConverters(BooleanConverters.class); }  @Override void loadConverters();  }