getMessage()); static::assertSame('foo', $exception->getCommand()); static::assertSame('bar', $exception->getOutput()); static::assertSame('baz', $exception->getErrorOutput()); static::assertSame(4, $exception->getCode()); } }