diff --git a/module/CLI/test/Factory/InstallApplicationFactoryTest.php b/module/CLI/test/Factory/InstallApplicationFactoryTest.php new file mode 100644 index 00000000..35820bba --- /dev/null +++ b/module/CLI/test/Factory/InstallApplicationFactoryTest.php @@ -0,0 +1,35 @@ +factory = new InstallApplicationFactory(); + } + + /** + * @test + */ + public function serviceIsCreated() + { + $instance = $this->factory->__invoke(new ServiceManager(['services' => [ + Filesystem::class => $this->prophesize(Filesystem::class)->reveal(), + ]]), ''); + + $this->assertInstanceOf(Application::class, $instance); + } +}