once() public méthode

Indicates that this expectation is expected exactly once
public once ( ) : self
Résultat self
 /**
  * @return $this
  */
 public function once()
 {
     $this->expectation->once();
     return $this;
 }