public function testDefinesCollectionType() { $type = Type::collection(Type::varchar()); $this->assertEquals("list", $type->name()); $this->assertEquals("list<varchar>", (string) $type); $this->assertEquals(Type::varchar(), $type->valueType()); }