Пример #1
0
 public static function setUpBeforeClass()
 {
     self::$file_counter = new FileCounter('test_val', -1);
     self::$file_counter->connect();
     self::$file_counter->readValue();
     self::$redis_counter = new RedisCounter('test_val', 0);
     self::$redis_counter->connect();
     self::$redis_counter->readValue();
 }
Пример #2
0
 public static function setUpBeforeClass()
 {
     self::$counter = new Counter('test_val', -1);
 }