public function can_login_with_events()
{
$write = array(implode("\r\n", array('action: Login', 'actionid: 1432.123', 'username: foo', 'secret: bar', 'events: all', '')));
$action = new \PAMI\Message\Action\LoginAction('foo', 'bar', 'all');
$client = $this->_start($write, $action);
}