Console Tests - gricob/functional-test-bundle GitHub Wiki
Run command
$result = $this->runCommand('command:name', ['argument1'], ['First input']);
Command result assertions
$result->assertOk();
$result->assertSee('Search this text in command output');