Sha256: edf98a2e110b94ea64d032e3b75a5db033aa6349f82bd41915ca7c955bad422c

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

require 'spec_helper'
require 'date'

require 'killbill/response/event'
require 'killbill/jresponse/jevent'


describe Killbill::Plugin::JEvent do

    it "should_test_jevent" do
      object_type = Java::com.ning.billing.ObjectType::INVOICE
      event_type = Java::com.ning.billing.beatrix.bus.api.ExtBusEventType::INVOICE_CREATION
      uuid = java.util.UUID.random_uuid

      input = Killbill::Plugin::JEvent.new(event_type, object_type, uuid, uuid, uuid)
      #input.should be_an_instance_of Java::com.ning.billing.beatrix.bus.api.ExtBusEvent
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
killbill-1.0.15 spec/killbill/jresponse/jevent_spec.rb