Skip to content

Commit 5ab157b

Browse files
committed
MAGNIMEX-SPRINT2 - line endings fix
1 parent 3c9f911 commit 5ab157b

File tree

1 file changed

+56
-56
lines changed
  • lib/internal/Magento/Framework/Archive/Test/Unit

1 file changed

+56
-56
lines changed
Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
1-
<?php
2-
3-
/**
4-
* Copyright © 2015 Magento. All rights reserved.
5-
* See COPYING.txt for license details.
6-
*/
7-
8-
namespace Magento\Framework\Archive\Test\Unit;
9-
10-
use Composer\Composer;
11-
12-
class ZipTest extends \PHPUnit_Framework_TestCase
13-
{
14-
15-
/**
16-
* @var \Magento\Framework\Archive\Zip|\PHPUnit_Framework_MockObject_MockObject
17-
*/
18-
protected $zip;
19-
20-
public function setUp()
21-
{
22-
$this->zip = $this->getMockBuilder('\Magento\Framework\Archive\Zip')
23-
->disableOriginalConstructor()
24-
->getMock();
25-
}
26-
27-
/**
28-
* Check constructor if no exceptions is thrown.
29-
*/
30-
public function testConstructorNoExceptions()
31-
{
32-
try{
33-
$reflectedClass = new \ReflectionClass('\Magento\Framework\Archive\Zip');
34-
$constructor = $reflectedClass->getConstructor();
35-
$constructor->invoke($this->zip, []);
36-
} catch (\Exception $e){
37-
$this->fail('Failed asserting that no exceptions is thrown');
38-
}
39-
}
40-
41-
/**
42-
* @depends testConstructorNoExceptions
43-
*/
44-
public function testPack()
45-
{
46-
$this->markTestSkipped('Method pack contains dependency on \ZipArchive object');
47-
}
48-
49-
/**
50-
* @depends testConstructorNoExceptions
51-
*/
52-
public function testUnpack()
53-
{
54-
$this->markTestSkipped('Method unpack contains dependency on \ZipArchive object');
55-
}
56-
}
1+
<?php
2+
3+
/**
4+
* Copyright © 2015 Magento. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
8+
namespace Magento\Framework\Archive\Test\Unit;
9+
10+
use Composer\Composer;
11+
12+
class ZipTest extends \PHPUnit_Framework_TestCase
13+
{
14+
15+
/**
16+
* @var \Magento\Framework\Archive\Zip|\PHPUnit_Framework_MockObject_MockObject
17+
*/
18+
protected $zip;
19+
20+
public function setUp()
21+
{
22+
$this->zip = $this->getMockBuilder('\Magento\Framework\Archive\Zip')
23+
->disableOriginalConstructor()
24+
->getMock();
25+
}
26+
27+
/**
28+
* Check constructor if no exceptions is thrown.
29+
*/
30+
public function testConstructorNoExceptions()
31+
{
32+
try{
33+
$reflectedClass = new \ReflectionClass('\Magento\Framework\Archive\Zip');
34+
$constructor = $reflectedClass->getConstructor();
35+
$constructor->invoke($this->zip, []);
36+
} catch (\Exception $e){
37+
$this->fail('Failed asserting that no exceptions is thrown');
38+
}
39+
}
40+
41+
/**
42+
* @depends testConstructorNoExceptions
43+
*/
44+
public function testPack()
45+
{
46+
$this->markTestSkipped('Method pack contains dependency on \ZipArchive object');
47+
}
48+
49+
/**
50+
* @depends testConstructorNoExceptions
51+
*/
52+
public function testUnpack()
53+
{
54+
$this->markTestSkipped('Method unpack contains dependency on \ZipArchive object');
55+
}
56+
}

0 commit comments

Comments
 (0)