/**
  * Two custom attributes are created, one for customer and another for customer address.
  *
  * Attribute related to customer should be returned only.
  *
  * @magentoDataFixture Magento/Customer/_files/attribute_user_defined_address.php
  * @magentoDataFixture Magento/Customer/_files/attribute_user_defined_customer.php
  */
 public function testGetCustomAttributesCodes()
 {
     $userDefinedAttributeCode = FIXTURE_ATTRIBUTE_USER_DEFINED_CUSTOMER_NAME;
     $attributeCodes = $this->_customerBuilder->getCustomAttributesCodes();
     $expectedAttributes = array('disable_auto_group_change', $userDefinedAttributeCode);
     $this->assertEquals($expectedAttributes, $attributeCodes, 'Custom attribute codes list is invalid.');
 }