@@ -139,6 +139,15 @@ public function testGetList()
139139 ->setMethods (['setKey ' , 'setValue ' ])->getMockForAbstractClass ();
140140
141141 $ extensionAttributes = $ this ->getMockBuilder (OrderExtensionInterface::class)
142+ ->addMethods (
143+ [
144+ 'getShippingAssignments ' ,
145+ 'setAppliedTaxes ' ,
146+ 'setConvertingFromQuote ' ,
147+ 'setItemAppliedTaxes ' ,
148+ 'setPaymentAdditionalInfo '
149+ ]
150+ )
142151 ->disableOriginalConstructor ()
143152 ->getMockForAbstractClass ();
144153 $ shippingAssignmentBuilder = $ this ->createMock (
@@ -183,6 +192,7 @@ public function testSave()
183192 ->getMock ();
184193 $ orderEntity = $ this ->createMock (Order::class);
185194 $ extensionAttributes = $ this ->getMockBuilder (OrderExtensionInterface::class)
195+ ->addMethods (['getShippingAssignments ' ])
186196 ->disableOriginalConstructor ()
187197 ->getMockForAbstractClass ();
188198 $ shippingAssignment = $ this ->getMockBuilder (ShippingAssignment::class)
@@ -230,6 +240,16 @@ public function testGet()
230240 $ paymentMock ->expects ($ this ->once ())->method ('getAdditionalInformation ' )->willReturn ($ paymentInfo );
231241
232242 $ orderExtension = $ this ->getMockBuilder (OrderExtensionInterface::class)
243+ ->addMethods (
244+ [
245+ 'getShippingAssignments ' ,
246+ 'setAppliedTaxes ' ,
247+ 'setConvertingFromQuote ' ,
248+ 'setItemAppliedTaxes ' ,
249+ 'setPaymentAdditionalInfo ' ,
250+ 'setShippingAssignments '
251+ ]
252+ )
233253 ->disableOriginalConstructor ()
234254 ->getMockForAbstractClass ();
235255 $ orderExtension ->expects ($ this ->once ())->method ('getShippingAssignments ' )->willReturn (null );
0 commit comments