stlFixer = new StlFixerService($this->getParameter('admesh_bin')); $this->input = __DIR__ . '/fixtures/ascii.stl'; } public function tearDown() { $this->filesystem->delete('output.stl'); } public function testFixing() { $this->stlFixer->fix($this->input,$this->filesystem->getAdapter()->getPathPrefix().'/output.stl'); $this->assertTrue($this->filesystem->has('output.stl')); } }