test_class.declarator: purgatory
test_class.modifier: private
test_class.original_string: private Purgatory purgatory;
test_class.type: Purgatory
test_class.var_name: purgatory
test_class.declarator: job
test_class.modifier: private
test_class.original_string: private PurgeFiltersJob job;
test_class.type: PurgeFiltersJob
test_class.var_name: job
test_class.file: filter-service-core/src/test/java/cn/leancloud/filter/service/PurgeFiltersJobTest.java
test_class.identifier: PurgeFiltersJobTest
test_case.body: @Test
      public void testPurge() {
          doNothing().when(purgatory).purge();
          job.run();
          verify(purgatory, times(1)).purge();
      }
test_case.class_method_signature: PurgeFiltersJobTest.testPurge()
test_case.full_signature: @Test public void testPurge()
test_case.identifier: testPurge
test_case.invocations: purge when doNothing run purge verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPurge()
focal_class.declarator: logger = LoggerFactory.getLogger(PurgeFiltersJob.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(PurgeFiltersJob.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: purgatory
focal_class.modifier: private final
focal_class.original_string: private final Purgatory purgatory;
focal_class.type: Purgatory
focal_class.var_name: purgatory
focal_class.file: filter-service-core/src/main/java/cn/leancloud/filter/service/PurgeFiltersJob.java
focal_class.identifier: PurgeFiltersJob
focal_class.interfaces: implements Runnable
focal_class.class_method_signature: PurgeFiltersJob.PurgeFiltersJob(Purgatory purgatory)
focal_class.full_signature:   PurgeFiltersJob(Purgatory purgatory)
focal_class.identifier: PurgeFiltersJob
focal_class.parameters: (Purgatory purgatory)
focal_class.signature:  PurgeFiltersJob(Purgatory purgatory)
focal_class.class_method_signature: PurgeFiltersJob.run()
focal_class.full_signature: @Override public void run()
focal_class.identifier: run
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void run()
focal_method.body: @Override
      public void run() {
          try {
              purgatory.purge();
          } catch (Exception ex) {
              logger.error("Purge bloom filter service failed.", ex);
          }
      }
focal_method.class_method_signature: PurgeFiltersJob.run()
focal_method.full_signature: @Override public void run()
focal_method.identifier: run
focal_method.invocations: purge error
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void run()