Jruby stubs and mocks