public function testReturnsItsType($type) { $udt = new UserTypeValue(array('name1' => $type)); $types = $udt->type()->types(); $this->assertEquals($type, $types['name1']); }