title: Dozer issue: No read or write method found for field (status) in class
body: <p>Here is my mapping in the dozermap.xml file: </p>
  
  <pre><code>&lt;mapping type="one-way"&gt;
        &lt;class-a&gt;com.models.ClassA&lt;/class-a&gt;
        &lt;class-b&gt;com.models.ClassB&lt;/class-b&gt;
          &lt;field custom-converter="com.models.helpers.CustomConverterDemo"&gt;
              &lt;a&gt;status&lt;/a&gt;
              &lt;b&gt;status&lt;/b&gt;
          &lt;/field&gt;
          &lt;field-exclude type="one-way"&gt;
              &lt;a&gt;createdOn&lt;/a&gt;
              &lt;b&gt;createdOn&lt;/b&gt;
          &lt;/field-exclude&gt;
  &lt;/mapping&gt;
  </code></pre>
  
  <p>The mapping is working fine and this error is happening only when I try to run junit tests.</p>
  
  <p>The stack trace:</p>
  
  <pre><code>org.dozer.MappingException: No read or write method found for field (status) in class (class com.models.TestModel)
  at org.dozer.propertydescriptor.GetterSetterPropertyDescriptor.determinePropertyType(GetterSetterPropertyDescriptor.java:319)
  at org.dozer.propertydescriptor.GetterSetterPropertyDescriptor.getPropertyType(GetterSetterPropertyDescriptor.java:76)
  at org.dozer.fieldmap.FieldMap.getDestFieldType(FieldMap.java:117)
  at org.dozer.util.MappingUtils.applyGlobalCopyByReference(MappingUtils.java:212)
  at org.dozer.loader.MappingsParser.processMappings(MappingsParser.java:168)
  at org.dozer.loader.CustomMappingsLoader.load(CustomMappingsLoader.java:49)
  at org.dozer.DozerBeanMapper.loadCustomMappings(DozerBeanMapper.java:213)
  at org.dozer.DozerBeanMapper.initMappings(DozerBeanMapper.java:315)
  at org.dozer.DozerBeanMapper.getMappingProcessor(DozerBeanMapper.java:192)
  at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:120)
  at com.helpers.GeneralHelper.mapDomainModelToKey(GeneralHelper.java:226)
  at com.helpers.GeneralHelper.updateKeys(GeneralHelper.java:130)
  at com.helpers.GeneralHelperTest.addKeys(GeneralHelperTest.java:295)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  </code></pre>