core = new Core(); } /** * Tear down the test environment. * * @return void */ public function tearDown(): void { WP_Mock::tearDown(); parent::tearDown(); } /** * Test constructor. * * @return void */ public function test_constructor() { // Verify that the constructor initializes hooks. $this->assertInstanceOf( Core::class, $this->core ); } /** * Test example method. * * @return void */ public function test_filter_content() { $content = 'Test content'; // Test that filter_content returns the content. $this->assertEquals( $content, $this->core->filter_content( $content ) ); } }