syncService = $this->createMock(SyncService::class); $this->step = new CreateSystemAddressBookStep( $this->syncService, ); } public function testGetName(): void { $name = $this->step->getName(); self::assertEquals('Create system address book', $name); } public function testRun(): void { $output = $this->createMock(IOutput::class); $this->step->run($output); $this->addToAssertionCount(1); } }