@Test
public void testOtherConverter() throws Exception {

  final PropertyManagement.PropertyConverter<NonSerializableExample> converter =
      new PropertyManagement.PropertyConverter<NonSerializableExample>() {
        /** */
        private static final long serialVersionUID = 1L;
        @Override
        public Serializable convert(final NonSerializableExample ob) throws Exception {
          return Integer.valueOf(1);
        }
        @Override
        public NonSerializableExample convert(final Serializable ob) throws Exception {
          assertTrue(ob instanceof Integer);
          return new NonSerializableExample();
        }
        @Override
        public Class<NonSerializableExample> baseClass() {
          return NonSerializableExample.class;
        }
      };
  final PropertyManagement pm =
      new PropertyManagement(
          new PropertyManagement.PropertyConverter[] {converter},
          new ParameterEnum[] {MyLocalNSEnum.ARG1},
          new Object[] {new NonSerializableExample()});
  assertTrue(pm.getProperty(MyLocalNSEnum.ARG1, converter) instanceof NonSerializableExample);
}