Cassandra\UserTypeIntegrationTest::setUp PHP Method

setUp() protected method

Setup the database for the user type tests.
protected setUp ( )
    protected function setUp()
    {
        // Process parent setup steps
        parent::setUp();
        // Create the user types
        $this->session->execute(new SimpleStatement(self::PHONE_USER_TYPE_CQL));
        $this->session->execute(new SimpleStatement(self::ADDRESS_USER_TYPE_CQL));
        // Create the table
        $query = "CREATE TABLE {$this->tableNamePrefix}\n            (key timeuuid PRIMARY KEY, value\n            frozen<address>)";
        $this->session->execute(new SimpleStatement($query));
    }