/** * @test */ public function should_send_to_url() { $url = __DIR__ . '/fixtures/food_safety.xml'; $callback_url = 'https://totalrecalls.dev:443/callbacks/feed_callback'; $callback_type = 'url'; $request_uuid = 'foo-bar-foo-bar'; $dto = new ParseFeedDTO(compact('url', 'callback_url', 'callback_type', 'request_uuid')); $parseFeed = new ParseFeed(); $parseFeed->fire($dto); $this->assertNotNull($parseFeed->getDto()->process_results); }