className = $className; $this->message = $message; parent::__construct( 'testDummy' ); } public function testDummy() { if ( $this->className ) { $this->markTestSkipped( $this->message ); } else { // Dummy $this->assertTrue( true ); } } public function toString(): string { return $this->className; } }