@@ -17,23 +17,23 @@ |
||
| 17 | 17 | |
| 18 | 18 | protected function setUp() |
| 19 | 19 | { |
| 20 | - if( !class_exists( '\Zend\Diactoros\Response' ) ) { |
|
| 21 | - $this->markTestSkipped( '\Zend\Diactoros\Response is not available' ); |
|
| 20 | + if (!class_exists('\Zend\Diactoros\Response')) { |
|
| 21 | + $this->markTestSkipped('\Zend\Diactoros\Response is not available'); |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | $view = new \Aimeos\MW\View\Standard(); |
| 25 | - $this->object = new \Aimeos\MW\View\Helper\Response\Symfony2( $view ); |
|
| 25 | + $this->object = new \Aimeos\MW\View\Helper\Response\Symfony2($view); |
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | |
| 29 | 29 | public function testTransform() |
| 30 | 30 | { |
| 31 | - $this->assertInstanceOf( '\Aimeos\MW\View\Helper\Response\Symfony2', $this->object->transform() ); |
|
| 31 | + $this->assertInstanceOf('\Aimeos\MW\View\Helper\Response\Symfony2', $this->object->transform()); |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | |
| 35 | 35 | public function testCreateStream() |
| 36 | 36 | { |
| 37 | - $this->assertInstanceOf( \Psr\Http\Message\StreamInterface::class, $this->object->createStream( __FILE__ ) ); |
|
| 37 | + $this->assertInstanceOf(\Psr\Http\Message\StreamInterface::class, $this->object->createStream(__FILE__)); |
|
| 38 | 38 | } |
| 39 | 39 | } |