public function setUp() { parent::setUp(); \App::bind("App\\Repositories\\RecipeRepositoryInterface", "App\\Tests\\StubRepositories\\RecipeRepository"); \App::bind("App\\Presenter\\FeedInterface", "App\\Presenter\\Feed"); $this->controller = new FeedController(\App::make("App\\Presenter\\FeedInterface"), \App::make("App\\Repositories\\RecipeRepositoryInterface")); }
public function setUp() { parent::setUp(); \App::bind("App\\Repositories\\SectionRepositoryInterface", "App\\Tests\\StubRepositories\\SectionRepository"); \App::bind("App\\Repositories\\CategoryRepositoryInterface", "App\\Tests\\StubRepositories\\CategoryRepository"); \App::bind("App\\Repositories\\RecipeRepositoryInterface", "App\\Tests\\StubRepositories\\RecipeRepository"); $this->controller = new RecipeController(\App::make("App\\Repositories\\SectionRepositoryInterface"), \App::make("App\\Repositories\\CategoryRepositoryInterface"), \App::make("App\\Repositories\\RecipeRepositoryInterface"), new Hal()); }
public function setUp() { parent::setUp(); \App::bind("App\\Authenticate\\AuthenticateInterface", "App\\Tests\\StubRepositories\\AuthenticateRepository"); $this->controller = new AuthenticateController(\App::make("App\\Authenticate\\AuthenticateInterface")); }
public function setUp() { parent::setUp(); $this->feed = new Feed(new ZendFeed()); }
public function setUp() { parent::setUp(); $this->validate = new Validate(); }
public function setUp() { parent::setUp(); $this->category = new CategoryRepository(); $this->command = new AddRecipeCommand($this->category, new RecipeRepository(), new TagRepository(), new RecipeTagRepository()); }
public function setUp() { parent::setUp(); $this->repository = new AclRepository(); }
public function setUp() { parent::setUp(); $this->controller = new BaseController(); }
public function setUp() { parent::setUp(); \App::bind("App\\Repositories\\RecipeRepositoryInterface", "App\\Tests\\StubRepositories\\RecipeRepository"); $this->markdown = new Markdown(new \Parsedown(), \App::make("App\\Repositories\\RecipeRepositoryInterface")); }
public function setup() { $this->instance = $this->getMockForTrait(ValidationTrait::class); parent::setUp(); }
public function setUp() { parent::setUp(); $this->auth = new GitHub(new Client()); }
public function setUp() { parent::setUp(); $this->app->bind("App\\Repositories\\AclRepositoryInterface", "App\\Tests\\StubRepositories\\AclRepository"); $this->command = new AddAccountCommand(\App::make("App\\Authenticate\\Driver\\GitHub", [\App::make("GuzzleHttp\\ClientInterface")]), \App::make("App\\Repositories\\AclRepositoryInterface")); }
public function setUp() { parent::setUp(); $this->response = new Response(); }
public function setUp() { parent::setUp(); $this->filter = new PostOnceFilter(); }
public function setUp() { parent::setUp(); $this->fluent = new FluentTest(); }
public function setUp() { parent::setUp(); $this->provider = new GithubUserProvider(new AclRepository(), new UserRepository()); }
public function setUp() { parent::setUp(); $this->compose = new FeederComposer(new Reader()); }
public function setUp() { parent::setUp(); \App::bind("App\\Repositories\\CategoryRepositoryInterface", "App\\Tests\\StubRepositories\\CategoryRepository"); $this->compose = new CategoryComposer(\App::make("App\\Repositories\\CategoryRepositoryInterface")); }
public function setUp() { parent::setUp(); $this->app->bind("App\\Repositories\\AnalyticsRepositoryInterface", "App\\Tests\\StubRepositories\\AnalyticsRepository"); $this->command = new CleanCommand(\App::make("App\\Repositories\\AnalyticsRepositoryInterface")); }
public function setUp() { parent::setUp(); $this->exception = new OAuthErrorException('error'); }
public function setUp() { parent::setUp(); $this->facade = new MarkdownFacade(); }
public function setUp() { parent::setUp(); $this->hal = new Hal(); $this->render = new HalRender($this->hal); }