six2six / fixture-factory

Generator fake objects from a template
Apache License 2.0
445 stars 88 forks source link

bug when looking for properties on a class with inheritance #34

Closed bbcbruno closed 11 years ago

bbcbruno commented 11 years ago

Following the example above:

Class A;
Class B extends A{
    private C c;
}
Class C {
    private String value;
} 

When you use method: add("c.value", "someValue"), the framework doesn't work and result in a NullPointerException.