Cassandra\Type\SetTest::testDefinesSetType PHP Method

testDefinesSetType() public method

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