コード例 #1
0
 private function setUpMocks()
 {
     $this->files_mock = TestFactory::mockFilesystem();
     $this->type_hinter_mock = TestFactory::mockAddTypeHints();
     $this->generator_mock->shouldReceive('apiDirectory')->with(null, false, true)->andReturn('mocked/directory')->once();
 }