17
17
use PHPUnit \Framework \TestCase ;
18
18
19
19
/**
20
- * Unit Test for @see \Magento\Fedex\Plugin\Block\Tracking\PopupDeliveryDate
20
+ * Unit Test for \Magento\Fedex\Plugin\Block\Tracking\PopupDeliveryDate
21
21
*/
22
22
class PopupDeliveryDateTest extends TestCase
23
23
{
@@ -63,9 +63,7 @@ public function testAfterFormatDeliveryDateTimeWithFedexCarrier()
63
63
$ this ->trackingStatusMock ->expects ($ this ::once ())
64
64
->method ('getCarrier ' )
65
65
->willReturn (Carrier::CODE );
66
-
67
- $ this ->subjectMock ->expects ($ this ->once ())
68
- ->method ('formatDeliveryDate ' );
66
+ $ this ->subjectMock ->expects ($ this ->once ())->method ('formatDeliveryDate ' );
69
67
70
68
$ this ->executeOriginalMethod ();
71
69
}
@@ -78,15 +76,13 @@ public function testAfterFormatDeliveryDateTimeWithOtherCarrier()
78
76
$ this ->trackingStatusMock ->expects ($ this ::once ())
79
77
->method ('getCarrier ' )
80
78
->willReturn (self ::STUB_CARRIER_CODE_NOT_FEDEX );
81
-
82
- $ this ->subjectMock ->expects ($ this ->never ())
83
- ->method ('formatDeliveryDate ' );
79
+ $ this ->subjectMock ->expects ($ this ->never ())->method ('formatDeliveryDate ' );
84
80
85
81
$ this ->executeOriginalMethod ();
86
82
}
87
83
88
84
/**
89
- * Returns Mock for @see Status
85
+ * Returns Mock for \Magento\Shipping\Model\Tracking\Result\ Status
90
86
*
91
87
* @return MockObject
92
88
*/
@@ -99,7 +95,7 @@ private function getStatusMock(): MockObject
99
95
}
100
96
101
97
/**
102
- * Returns Mock for @see Popup
98
+ * Returns Mock for \Magento\Shipping\Block\Tracking\ Popup
103
99
*
104
100
* @return MockObject
105
101
*/
0 commit comments