public testValidateAccount ( array $postArray = [], string $expect = null ) | ||
$postArray | array | |
$expect | string |
public function testValidateAccount($postArray = [], $expect = null)
{
/* setup */
$controllerInstall = new Controller\Install($this->_registry, $this->_language, $this->_request, $this->_config);
/* actual */
$actual = $this->callMethod($controllerInstall, '_validateAccount', [$postArray]);
/* compare */
$this->assertEquals($expect, $actual);
}