/** * @test * @dataProvider getUnsuitableRecommendationStatuses */ public function criteria_is_not_satisfied_when_reference_is_not_acceptable_with_suitable_guarantor(RentRecoveryPlusReference $reference) { $this->assertFalse($this->criteria->isSatisfiedBy($reference)); }
/** * @test * @dataProvider getUnacceptableReferenceStatuses */ public function criteria_is_not_satisfied_when_guarantor_is_not_acceptable($recommendationStatus) { $this->recommendation->setStatus($recommendationStatus); $this->assertFalse($this->criteria->isSatisfiedBy(new RentRecoveryPlusReference())); }