public function testShouldThrowExceptionForTheThenRuleWhenTheIfRuleIsValidAndTheThenRuleIsNotOnCheckMethod()
{
$if = $this->getRuleMock(true);
$then = $this->getRuleMock(false, 'ThenNotValid');
$else = $this->getRuleMock(true);
$rule = new When($if, $then, $else);
$rule->check('');
}