Skip to content

Commit

Permalink
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/java_integration/interfaces/static_methods_spec.rb
Original file line number Diff line number Diff line change
@@ -25,5 +25,13 @@
it "binds those methods on the proxy module" do
expect(Java::Java8Interface.message).to eq("hello")
end

it "exposes those methods via java_send" do
expect(Java::Java8Interface.java_send(:message)).to eq("hello")
end

it "exposes those methods via java_method" do
expect(Java::Java8Interface.java_method(:message).call).to eq("hello")
end
end
end

0 comments on commit a9157cb

Please sign in to comment.