public function testShouldUseDefaultFactoryToCreateInternalRuleBasedOnGivenCountryCodeWhenFactoryIsNotDefined() { $countryCode = 'DE'; $rule = new Bic($countryCode); $this->assertInstanceOf('Respect\\Validation\\Rules\\Locale\\GermanBic', $rule->getValidatable()); }