/**
  * Return object of self
  * 
  * @return Config
  */
 public static function getInstance()
 {
     if (self::$_instanse instanceof self) {
         return self::$_instanse;
     }
     self::$_instanse = new self();
     return self::$_instanse;
 }
 public function testSwapEvenOddArrayKeys()
 {
     $instance = EncryptionService::getInstance();
     $this->assertTrue('object' === gettype($instance));
     $arr = [1, 2];
     $this->assertTrue(2 === count($arr));
     $instance->swapEvenOddArrayKeys([1]);
     $this->assertTrue(2 === count($arr));
     $this->assertTrue(1 === $arr[0]);
 }
 public function __construct()
 {
     $this->setServices(EncryptionService::getInstance());
 }