I'm having trouble mocking in the presence of value classes. Invalid arguments that don't exist in my code somehow get passed to the value class' constructor, which fails them. They appear to be caused by reflection in mockk. Does anyone have pointers?