public function testFetchColumn() { $expected = array("Clanek", "Article", "Nepovolený článek", "Jinačí článek"); $this->assertEquals($expected, $this->object->fetchColumn("name")); $res = $this->object->fetchColumn("id"); $this->assertType("int", $res[0]); }