public function testShouldUseDefaultFactoryToCreateInternalRuleBasedOnGivenCountryCodeWhenFactoryIsNotDefined() { $countryCode = 'DE'; $rule = new Bic($countryCode); $this->assertInstanceOf(GermanBic::class, $rule->getValidatable()); }