/** @test */
 public function it_executes_specified_classes()
 {
     $seederClass = __NAMESPACE__ . '\\DummySeeder';
     $seeder1Class = __NAMESPACE__ . '\\SecondDummySeeder';
     Promise::inputHasArgument($this->input, 'class', array($seederClass, $seeder1Class));
     Promise::inputHasOption($this->input, 'database', null);
     $manager = $this->prophet->prophesize('Illuminate\\Database\\DatabaseManager');
     Promise::containerHasService($this->container, 'wouterj_eloquent.database_manager', $manager->reveal());
     Promise::containerDoesNotHaveService($this->container, $seederClass);
     Promise::containerDoesNotHaveService($this->container, $seeder1Class);
     Prediction::outputWritesLine($this->output, '<info>Seeded:</info> ' . $seederClass);
     Prediction::outputWritesLine($this->output, '<info>Seeded:</info> ' . $seeder1Class);
     $this->subject->execute($this->input->reveal(), $this->output->reveal());
 }
 public function it_fails_if_seeder_extends_illuminate_seeder()
 {
     Promise::containerHasService($this->container, 'foo_service', new LaravelSeeder());
     $this->setExpectedException('LogicException');
     $this->subject->resolve('foo_service');
 }