/**
  *
  */
 public function test_detect_uncosted_events()
 {
     // Initially we should be able to detect an event without any cost
     $this->assertTrue(tribe_has_uncosted_events(), 'We expect to find some events for which a cost has not been defined');
     // Let's remove any uncosted test events and ensure the test works in reverse
     $this->remove_uncosted_events();
     $this->assertFalse(tribe_has_uncosted_events(), 'We do not expect to find events without a cost after they have been removed');
 }
 private function set_min_and_max()
 {
     if (!isset($this->max_cost) || !isset($this->min_cost)) {
         $this->max_cost = tribe_get_maximum_cost();
         $this->min_cost = tribe_has_uncosted_events() ? 0 : tribe_get_minimum_cost();
     }
 }