byte[] expected = ("<bool>" + Boolean.toString(true) + "</bool>")
.getBytes();
assertEquals(expected, out.toByteArray());
// test the conversionScore() method
assert ConversionScore.exact == wrapper.conversionScore(Boolean.class);
assert ConversionScore.exact == wrapper.conversionScore(Boolean.TYPE);
assert ConversionScore.compatible == wrapper
.conversionScore(Object.class);
assert ConversionScore.nomatch == wrapper
.conversionScore(InvalidClass.class);