PHP Class Gush\Tests\Template\PullRequest\Create\PullRequestCustomTemplateTest

Inheritance: extends Gush\Tests\BaseTestCase
Show file Open project: gushphp/gush

Public Methods

Method Description
provideTemplate ( )
testRenderTemplate ( array $params, string $expected )
testThrowsErrorWhenTableIsEmpty ( )
testThrowsExceptionWhenNameIsNoString ( )
testThrowsExceptionWhenRowIsInvalid ( )

Private Methods

Method Description
getCustomTemplate ( array $requirements )
normalizeWhiteSpace ( $input )

Method Details

provideTemplate() public static method

public static provideTemplate ( )

testRenderTemplate() public method

public testRenderTemplate ( array $params, string $expected )
$params array
$expected string

testThrowsErrorWhenTableIsEmpty() public method

testThrowsExceptionWhenNameIsNoString() public method

testThrowsExceptionWhenRowIsInvalid() public method