/** * @magentoAppIsolation enabled * @magentoDataFixture Magento/Customer/_files/attribute_user_defined_address.php */ public function testGetUserAttributes() { $expectedAttributes = ['address_user_attribute']; $this->assertEquals($expectedAttributes, array_keys($this->_form->getUserAttributes())); }