PAGI\CallSpool\Impl\Test_CallSpool::can_get_instance PHP Method

can_get_instance() public method

public can_get_instance ( )
        public function can_get_instance()
        {
            $props = array('tmpDir' => '/tmp', 'spoolDir' => '/tmp');
            $spool = \PAGI\CallSpool\Impl\CallSpoolImpl::getInstance($props);
            $spool = \PAGI\CallSpool\Impl\CallSpoolImpl::getInstance($props);
            // should return the same instance.
        }