public function testCantCheckIfPackfileHasShaWithoutIndex() { $this->packfile->setIndex(null); $this->packfile->hasSha('deadbeefcafebabefacebadc0ffeebadf00dcafe'); }