'add a number to a dial with status callback events'

def test_add_number_status_callback_event(self):

    d = Dial()
    d.number('1231231234', status_callback='http://example.com', status_callback_event='initiated    completed')
    r = VoiceResponse()
    r.append(d)
    assert_equal(self.strip(r), '<?xml    version="1.0"    encoding="UTF-8"?><Response><Dial><Number    statusCallback="http://example.com"    statusCallbackEvent="initiated    completed">1231231234</Number></Dial></Response>')
