/** * @param int $variable * @dataProvider providerEnsureInvalid * @expectedException \PhpDeal\Exception\ContractViolation */ public function testEnsureInvalid($variable) { $this->stub->add($variable); }
/** * @param mixed $value * @dataProvider providerVerifyWithAssertInvalid * @expectedException \PhpDeal\Exception\ContractViolation */ public function testVerifyWithAssertInvalid($value) { $this->stub->add($value); }
/** * @param int $parameter * @dataProvider providerVerifyValid */ public function testVerifyValid($parameter) { $this->stub->add($parameter); }