示例#1
0
 /**
  * @param \NetBox\ProxyManager\Proxy\Proxy $proxy
  * @return \OutOfBoundsException|void
  * @throws \OutOfBoundsException
  */
 public function unSelect(Proxy $proxy)
 {
     parent::unSelect($proxy);
     $this->sortList();
 }
示例#2
0
 public function testUnSelectExceptionHasRightMessage()
 {
     $this->setExpectedException('OutOfBoundsException', 'This proxy not in list: "127.0.0.1:80@http"');
     $proxy = new Proxy('127.0.0.1:80');
     $this->object->unSelect($proxy);
 }