public function testDelegatesUpdateFromEventToInvoke()
{
$command = $this->createTestInstance(array('__invoke'));
$subject = new Event('test');
$subject->attach($command);
$command->expects($this->once())->method('__invoke')->with('foo', 'bar', 'baz');
$subject('foo', 'bar', 'baz');
}