/** * Verify that the signature for a Sqon can be verified. */ public function testVerifySignatureForExistingSqon() { $this->sqon->commit(); self::assertTrue(Sqon::isValid($this->file), 'The signature should be valid.'); file_put_contents($this->file, 'x', FILE_APPEND); self::assertFalse(Sqon::isValid($this->file), 'The signature should not be valid.'); }