Respect\Validation\Rules\WhenTest::providerForValidInput PHP Method

providerForValidInput() public method

It is to provide constructor arguments and.
public providerForValidInput ( ) : array
return array
    public function providerForValidInput()
    {
        return ['int (all true)' => [new When($this->getRuleMock(true), $this->getRuleMock(true), $this->getRuleMock(true)), 42], 'bool (all true)' => [new When($this->getRuleMock(true), $this->getRuleMock(true), $this->getRuleMock(true)), true], 'empty (all true)' => [new When($this->getRuleMock(true), $this->getRuleMock(true), $this->getRuleMock(true)), ''], 'object (all true)' => [new When($this->getRuleMock(true), $this->getRuleMock(true), $this->getRuleMock(true)), new \stdClass()], 'empty array (all true)' => [new When($this->getRuleMock(true), $this->getRuleMock(true), $this->getRuleMock(true)), []], 'not empty array (all true)' => [new When($this->getRuleMock(true), $this->getRuleMock(true), $this->getRuleMock(true)), ['test']], 'when = true, then = false, else = true' => [new When($this->getRuleMock(true), $this->getRuleMock(true), $this->getRuleMock(false)), false]];
    }