function it_delegates_to_other_waiter_when_waiting(Waiter $waitStrategy) { $this->wait(1); $waitStrategy->wait(1)->shouldHaveBeenCalled(); }