validator = new Select( // attributes: [ // new Document([ // 'key' => 'attr', // 'type' => Database::VAR_STRING, // 'array' => false, // ]), // ], // ); // } // // public function tearDown(): void // { // } // // public function testValue(): void // { // // Test for Success // $this->assertEquals($this->validator->isValid(Query::select(['*', 'attr'])), true, $this->validator->getDescription()); // // // Test for Failure // $this->assertEquals($this->validator->isValid(Query::limit(1)), false, $this->validator->getDescription()); // } //}