/** * @since 3.0.0 * @group issue_58 * @test */ public function stoppingAnnotationPersistenceDoesNotWriteCacheFileOnShutdown() { AnnotationCache::put(new Annotations('someTarget')); AnnotationCache::stop(); AnnotationCache::__shutdown(); assertFalse(file_exists(vfsStream::url('root/annotations.cache'))); }
/** * clean up test environment */ public function tearDown() { AnnotationCache::stop(); }