function it_advises_to_purge_other_versions(VersionInterface $version1) { $version1->getVersion()->willReturn(2); $this->isPurgeable($version1, [])->shouldReturn(true); }
/** * {@inheritdoc} */ public function isPurgeable(VersionInterface $version, array $options) { return 1 !== $version->getVersion(); }