Invoking private methods via JRuby


#1

Hi!

I’m playing around with the possibility to testing Java classes via
JRuby using RSpec.

The only problem I’ve encountered so far is that I’m not able to invoke
private methods on Java classes (using Object#send), which is possible
on regular Ruby classes.

Is there a workaround for this or am I missing something?

Regards,
Fredrik W