/**
  * Test getEntityAttributeNameById method
  */
 public function testGetEntityAttributeNameById()
 {
     $client = Client::findOne(1);
     $this->assertInstanceOf(Client::className(), $client);
     $this->setService('client', $client);
     $customerAttributes = new CustomerAttributes();
     $id = $customerAttributes->getEntityAttributeNameById(2);
     $this->assertEquals('field2', $id);
 }