Skip to content

Commit

Permalink
#328 Prepare test
Browse files Browse the repository at this point in the history
  • Loading branch information
dvoraka committed Jul 9, 2019
1 parent 1896525 commit 8156148
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package dvoraka.avservice.client.transport.test

import dvoraka.avservice.common.helper.replication.ReplicationHelper
import spock.lang.Specification
import spock.lang.Subject

class DefaultSimpleBrokerSpec extends Specification implements ReplicationHelper {

@Subject
DefaultSimpleBroker broker


def setup() {
broker = new DefaultSimpleBroker()
}

def "send message"() {
expect:
broker.send("queue", createDiscoverRequest("node ID"))
}
}

0 comments on commit 8156148

Please sign in to comment.