diff --git a/test/MessageTest.php b/test/MessageTest.php index 7e4896eeb..bf835a130 100644 --- a/test/MessageTest.php +++ b/test/MessageTest.php @@ -62,15 +62,6 @@ public function testMessageToStringWorks() $message->setMetadata(array('Foo' => 'bar', 'One' => 'Two')); $message->setContent('This is my content'); $expected = "Foo: bar\r\nOne: Two\r\n\r\nThis is my content"; - $this->assertEquals($expected, $message->__toString()); + $this->assertEquals($expected, $message->toString()); } - - public function testMessageThrowsExceptionOnFromString() - { - $message = new Message(); - - $this->setExpectedException('Zend\Stdlib\Exception\DomainException'); - $message->fromString('some string'); - } - }