Lazer\Classes\DatabaseTest::testCreateTable PHP Метод

testCreateTable() публичный Метод

public testCreateTable ( )
    public function testCreateTable()
    {
        $this->assertFalse($this->root->hasChild('newTable.data.json'));
        $this->assertFalse($this->root->hasChild('newTable.config.json'));
        $this->object->create('newTable', array('myInteger' => 'integer', 'myString' => 'string', 'myBool' => 'boolean'));
        $this->assertTrue($this->root->hasChild('newTable.data.json'));
        $this->assertTrue($this->root->hasChild('newTable.config.json'));
    }