Craft\ImportServiceTest::setMockImportHistoryService PHP Method

setMockImportHistoryService() private method

private setMockImportHistoryService ( integer $historyId, integer $row, string $message )
$historyId integer
$row integer
$message string
    private function setMockImportHistoryService($historyId, $row, $message)
    {
        $mockImportHistoryService = $this->getMock('Craft\\Import_HistoryService');
        $mockImportHistoryService->expects($this->any())->method('log')->with($historyId, $row, $message);
        $this->setComponent(craft(), 'import_history', $mockImportHistoryService);
    }