/** * Setup a test method for the WPCASServer class. */ function setUp() { parent::$ignore_files = true; parent::setUp(); add_filter('wp_redirect', array($this, 'wp_redirect_handler')); }