endpoints; } /** * Allow calling protected methods from tests * * @param string $method Method to call * @param array $args Arguments to pass to the method * @return mixed */ public function __call( $method, $args ) { return call_user_func_array( array( $this, $method ), $args ); } }