ImportCsvCommandTest
extends TestCase
in package
Import/ImportCsv command test.
Tags
Table of Contents
- testFailure() : void
- Test a failure scenario
- testSuccessWithMinimalParameters() : void
- Test the simplest possible success case.
- testWithoutParameters() : void
- Test that missing parameters yield an error message.
- getMockImporter() : Importer
- Get a mock importer object
Methods
testFailure()
Test a failure scenario
public
testFailure() : void
Return values
void —testSuccessWithMinimalParameters()
Test the simplest possible success case.
public
testSuccessWithMinimalParameters() : void
Return values
void —testWithoutParameters()
Test that missing parameters yield an error message.
public
testWithoutParameters() : void
Return values
void —getMockImporter()
Get a mock importer object
protected
getMockImporter([array<string|int, mixed> $methods = [] ]) : Importer
Parameters
- $methods : array<string|int, mixed> = []
-
Methods to mock