assertTrue( class_exists( 'Peptide_News_CLI' ) ); $cli = new Peptide_News_CLI(); $this->assertInstanceOf( 'WP_CLI_Command', $cli ); } public function test_cli_methods_exist(): void { $cli = new Peptide_News_CLI(); $this->assertTrue( method_exists( $cli, 'fetch' ) ); $this->assertTrue( method_exists( $cli, 'process_llm' ) ); $this->assertTrue( method_exists( $cli, 'backfill_sources' ) ); } }