ExtendServiceCommandTest
extends TestCase
in package
Generate/ExtendService command test.
Tags
Table of Contents
- testError() : void
- Test exception handling.
- testSuccessWithMinimalParameters() : void
- Test the simplest possible success case.
- testWithoutParameters() : void
- Test that missing parameters yield an error message.
- getMockGeneratorTools() : GeneratorTools
- Get a mock generator tools object
Methods
testError()
Test exception handling.
public
testError() : 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 —getMockGeneratorTools()
Get a mock generator tools object
protected
getMockGeneratorTools([array<string|int, mixed> $methods = [] ]) : GeneratorTools
Parameters
- $methods : array<string|int, mixed> = []
-
Methods to mock