Closed ruwanka closed 6 years ago
Right, it should support Set
interface.
Hello,
I got this problem when using the latest version 0.8.0.
It looks this fix was never released to maven central.
https://mvnrepository.com/artifact/io.beanmother/beanmother-core and https://oss.sonatype.org/content/repositories/releases/io/beanmother/ both shows the last release date to be July 2018.
Could you check?
Thanks,
@gtiwari333 I just release fixed version, you can find soon,
If target object has field of type Set, following exception is thrown
io.beanmother.core.mapper.FixtureMappingException: Target setter of 'name-of-the-property' must be List or array.
this method only checks for arrays or lists, because of that having custom converter doesn't resolve the problem.