public function testToArray() { $expected = array('code' => 'attribute_code', 'type' => 'attribute_type', 'label' => 'labelname', 'public' => false, 'default' => 'default value', 'required' => false); $this->assertEquals($expected, $this->object->toArray()); }
public function testIsRequired() { $this->assertEquals(false, $this->object->isRequired()); }