expectException(\RuntimeException::class); $this->expectExceptionMessage("Corrupted ZIP, ZIP64 offset and normal offset don't match up."); $utils = new ApkSignUtils(); $utils->findSignature(__DIR__ . '/../../var/testdata/signedapks/zip64corrupted.jar'); } function testSha1Signature() { $utils = new ApkSignUtils(); $apkSignature = $utils->findSignature(__DIR__ . '/../../var/testdata/signedapks/sha1.apk'); $this->assertNotNull($apkSignature, "Couldn't find APK signature"); } }