Closed lfcazambuja closed 11 months ago
@lfcazambuja Hello, thank you for reporting an issue. It is a bug in the creation of an interface object. It'll be fixed in 0.6.9. When it is published, I will let you know.
Thank you.
@lfcazambuja Hello, 0.6.9 is released. Please check it out. Thank you.
The problem was solved. Thank you!
Hi, everyone!
I have the given interface:
and the given unit test, using JUnit 5:
I was using the FixtureMonkey 0.5.9. With this version - and previous ones - , the test runs without errors. In other words, the
ArbitraryBuilder::sampleList
method gives me different instances ofExampleDto
, each one with a different ID (as you can see in theSystem.out.println
line if you execute the code.When I updated the FixtureMonkey version to 0.6.0 (or newer) the test started to fail. The instances of
ExampleDto
, all of them, are being created with the same ID, thus failing the test.I want to know if this is an issue or if I should do something different in my code from version 0.6.0 onwards.
Thanks in advance.