We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c73c0 commit b18e68aCopy full SHA for b18e68a
tests/TwilioSmsMessageTest.php
@@ -28,4 +28,22 @@ public function it_provides_a_create_method()
28
29
$this->assertEquals('myMessage', $message->content);
30
}
31
+
32
+ /** @test */
33
+ public function it_sets_alphanumeric_sender()
34
+ {
35
+ $message = TwilioSmsMessage::create('myMessage');
36
+ $message->sender('TestSender');
37
38
+ $this->assertEquals('TestSender', $message->alphaNumSender);
39
+ }
40
41
42
+ public function it_can_return_the_alphanumeric_sender_if_set()
43
44
45
46
47
+ $this->assertEquals('TestSender', $message->getFrom());
48
49
0 commit comments