public void testIssue44() throws IOException
{
String exp = "<Issue44Bean first=\"abc\"><second>13</second></Issue44Bean>";
Issue44Bean bean = new Issue44Bean();
FilterProvider prov = new SimpleFilterProvider().addFilter("filter44",
SimpleBeanPropertyFilter.serializeAllExcept("filterMe"));
ObjectWriter writer = _xmlMapper.writer(prov);
// as well as with proper filter
assertEquals(exp, writer.writeValueAsString(bean));