once() ->with( \AC_SEO_ACF_ANALYSIS_PLUGIN_FILE ) ->andReturn( [ 'Version' => '2.0.0', ] ); $testee = new Yoast_ACF_Analysis_Assets(); $testee->init(); $this->assertSame( 11, \has_action( 'admin_enqueue_scripts', [ $testee, 'enqueue_scripts' ] ) ); } }