keepcosmos / beanmother

A library for setting up Java objects as test data.
http://beanmother.io
Apache License 2.0
115 stars 23 forks source link

Populate private fields if no setter or public field found #14

Closed ccoetzer closed 6 years ago

ccoetzer commented 6 years ago

If there is not a setter or a public field, then try and populate the private field as a last resort.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.05%) to 86.215% when pulling c961b2c0f5180e15d0333db15123bc136bd226b6 on ccoetzer:master into 432906ee927244a5bf2ec5d9e3743e12a138cf14 on keepcosmos:master.

keepcosmos commented 6 years ago

Thanks! This is the feature what I want to 👍

keepcosmos commented 6 years ago

@ccoetzer v0.7.5 that contains your PR just released. Thanks and please check.