public function testValidateInt()
{
$refObject = new \ReflectionObject($this->command);
$method = $refObject->getMethod('validateInt');
$method->setAccessible(true);
$resultValid = $method->invokeArgs($this->command, array('5'));
$this->assertEquals(5, $resultValid);
$method->invokeArgs($this->command, array('bad input'));
// Exception!
}