assertSame(EconomicReferenceCatalog::MANIFEST_SHA256, hash_file('sha256', $path)); $manifest = json_decode(file_get_contents($path), true, 512, JSON_THROW_ON_ERROR); $this->assertSame(EconomicReferenceCatalog::LOT, $manifest['lot']); $this->assertCount(5, $manifest['activities']); $this->assertCount(5, $manifest['chains']); $this->assertCount(4, $manifest['links']); } }