public function testWillThrowAnExceptionIfCommandIsNotInvokable() { $command = $this->createTestInstance(); $subject = new Event('test'); $subject->attach($command); $this->setExpectedException('\\Exception'); $subject('foo', 'bar', 'baz'); }