mock(JournalCollectorInterface::class); $repository = $this->mock(CurrencyRepositoryInterface::class); $repository->shouldReceive('get')->andReturn(new Collection); $this->be($this->user()); $response = $this->get(route('accounts.create', ['asset'])); $response->assertStatus(200); // has bread crumb $response->assertSee('