jakub.dyszkiewicz
03/04/2017, 8:24 PMenum class Choice {
NONE, LEFT, RIGHT
}
and when I try to access that in test using just Choice choice = Choice.NONE
it throws
groovy.lang.MissingPropertyException: No such property: NONE for class: com.polarize.data.model.Choice
Same error with accessing objects
using ClassName.INSTANCE
What is more funny, same code in unit tests (also Spock and Groovy!) works, so… what the hell is this? 😄