Mock a dependency of a WP_REST_Controller class

Mock a dependency of a WP_REST_Controller class