public function setUp() { parent::setUp(); $this->loader = $this->prophet->prophesize('WouterJ\\EloquentBundle\\Facade\\AliasesLoader'); $this->container = $this->prophet->prophesize('Symfony\\Component\\DependencyInjection\\Container'); $this->subject = new FacadeInitializer($this->container->reveal()); }
public function setUp() { parent::setUp(); $this->container = $this->prophet->prophesize('Symfony\\Component\\DependencyInjection\\Container'); $this->seeder = $this->prophet->prophesize('WouterJ\\EloquentBundle\\Seeder'); $this->subject = new Seeder(); $this->subject->setSfContainer($this->container->reveal()); }
public function setUp() { parent::setUp(); $this->container = $this->prophet->prophesize('Symfony\\Component\\DependencyInjection\\ContainerInterface'); $this->input = $this->prophet->prophesize('Symfony\\Component\\Console\\Input\\InputInterface'); $this->output = $this->prophet->prophesize('Symfony\\Component\\Console\\Output\\OutputInterface'); $this->subject = new SeedCommand(); $this->subject->setContainer($this->container->reveal()); }
public function setUp() { parent::setUp(); $this->capsule = $this->prophet->prophesize('Illuminate\\Database\\Capsule\\Manager'); $this->subject = new EloquentInitializer($this->capsule->reveal()); }