Skip to content

Commit 83c73c0

Browse files
committed
Twilio message test
1 parent c2640f4 commit 83c73c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/TwilioMessageTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,12 @@ public function it_can_set_the_from()
3131

3232
$this->assertEquals('+1234567890', $this->message->from);
3333
}
34+
35+
/** @test */
36+
public function it_can_return_the_from_using_getter()
37+
{
38+
$this->message->from('+1234567890');
39+
40+
$this->assertEquals('+1234567890', $this->message->getFrom());
41+
}
3442
}

0 commit comments

Comments
 (0)