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 00bc417 commit e02e28dCopy full SHA for e02e28d
lib/internal/Magento/Framework/Mail/Test/Unit/TransportTest.php
@@ -5,21 +5,8 @@
5
*/
6
namespace Magento\Framework\Mail\Test\Unit;
7
8
-use Zend\Mail\Headers;
9
-
10
class TransportTest extends \PHPUnit_Framework_TestCase
11
{
12
- /**
13
- * @expectedException \InvalidArgumentException
14
- * @expectedExceptionMessage The message should be an instance of \Zend\Mail\Message
15
- */
16
- public function testTransportWithIncorrectMessageObject()
17
- {
18
- new \Magento\Framework\Mail\Transport(
19
- $this->getMock(\Magento\Framework\Mail\MessageInterface::class)
20
- );
21
- }
22
23
/**
24
* @covers \Magento\Framework\Mail\Transport::sendMessage
25
* @expectedException \Magento\Framework\Exception\MailException
0 commit comments