/** * @covers \Magento\Eav\Helper\Data::getAttributeLockedFields */ public function testGetAttributeLockedFieldsNoLockedFields() { $this->attributeConfig->expects($this->once())->method('getEntityAttributesLockedFields')->with('entityTypeCode')->will($this->returnValue([])); $this->assertEquals([], $this->helper->getAttributeLockedFields('entityTypeCode')); }