/** * tests Module->getNameAttributes() */ public function testGetNameAttributes() { $entity = $this->setupEntity(true); $this->module->addEntity($entity); $entity = $this->setupEntity(true); $entity->setIndex(1); $attribute = $this->setupAttribute(); $attribute->setIsName(false)->setIndex(1); $entity->addAttribute($attribute); $this->module->addEntity($entity); $expected = '[0,0]'; $this->assertEquals($expected, $this->module->getNameAttributes()); }