FlexTradeUKLtd / jfixture

JFixture is an open source library based on the popular .NET library, AutoFixture
MIT License
105 stars 22 forks source link

Calendar unable to be created #13

Closed richkeenan closed 9 years ago

richkeenan commented 9 years ago

Whilst there is explcit support for creating Calendar objects there is a problem making them because the library tries to call the setters which causes a circular reference.

This happened with Dates (because they're also mutable), the solution was to add it to the black list of ignored classes when invoking setters. This needs to be done for Calendar too