Skip to content

Commit 1fd3613

Browse files
author
Dmitry Kologrivov
committed
MAGNIMEX-156: Fix doc comments
1 parent ff576d2 commit 1fd3613

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

app/code/Magento/AdvancedPricingImportExport/Test/Unit/Model/Export/AdvancedPricingTest.php

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*/
66
namespace Magento\AdvancedPricingImportExport\Test\Unit\Model\Export;
77

8-
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
98
use \Magento\Store\Model\Store;
109

1110
/**
@@ -98,8 +97,14 @@ class ExportTest extends \PHPUnit_Framework_TestCase
9897
*/
9998
protected $rowCustomizer;
10099

100+
/**
101+
* @var \Magento\CatalogImportExport\Model\Import\Product\StoreResolver|\PHPUnit_Framework_MockObject_MockObject
102+
*/
101103
protected $storeResolver;
102104

105+
/**
106+
* @var \Magento\Customer\Api\GroupRepositoryInterface|\PHPUnit_Framework_MockObject_MockObject
107+
*/
103108
protected $groupRepository;
104109

105110
/**
@@ -112,14 +117,14 @@ class ExportTest extends \PHPUnit_Framework_TestCase
112117
*/
113118
protected $advancedPricing;
114119

115-
protected $_entityTypeCode;
116-
117-
118120
/**
119121
* @var StubProduct|\Magento\CatalogImportExport\Model\Export\Product
120122
*/
121123
protected $object;
122124

125+
/**
126+
* Set Up
127+
*/
123128
protected function setUp()
124129
{
125130
$this->localeDate = $this->getMock(
@@ -343,7 +348,10 @@ protected function setUp()
343348
);
344349
}
345350

346-
public function testExportCountZeroBreakInternalCalls()
351+
/**
352+
* Test export with zero condition
353+
*/
354+
public function testExportZeroConditionCalls()
347355
{
348356
$page = 1;
349357
$itemsPerPage = 10;
@@ -367,7 +375,10 @@ public function testExportCountZeroBreakInternalCalls()
367375
$this->advancedPricing->export();
368376
}
369377

370-
public function testExportCurPageEqualToLastBreakInternalCalls()
378+
/**
379+
* Test export for current page
380+
*/
381+
public function testExportCurrentPageCalls()
371382
{
372383
$curPage = $lastPage = $page = 1;
373384
$itemsPerPage = 10;
@@ -420,6 +431,9 @@ public function testExportCurPageEqualToLastBreakInternalCalls()
420431
$this->advancedPricing->export();
421432
}
422433

434+
/**
435+
* tearDown
436+
*/
423437
protected function tearDown()
424438
{
425439
unset($this->object);

0 commit comments

Comments
 (0)