public function test_set_get_name_format() { $attribute = new Attribute(); $attribute->setNameFormat($expected = 'format'); $this->assertEquals($expected, $attribute->getNameFormat()); }