require "dial"
include Dial

class MockTransmission
  def initialize
    @tags = []
  end
  attr_accessor :tags
end

class MockBroadcaster < Dial::Broadcaster
  def broadcast_on frequency,transmission
    
  end
end

t = MockTransmission.new
t.tags = [:messaging]

Channel.build :logging do |channel|

  channel.could.have(:sms)

  channel.handle(t) do |transmission|
    puts "would have sent!"
  end
end
