/** * @return $this */ public function between($minimum, $maximum) { $this->expectation->between($minimum, $maximum); return $this; }
public function testThatBetweenWorks() { $this->expectation->shouldReceive('between')->with(7, 23)->once(); $this->function->between(7, 23); }