Omnipay\Common\CreditCardTest::testCustomBrandAddedTwiceReturnsFalse PHP 메소드

testCustomBrandAddedTwiceReturnsFalse() 공개 메소드

    public function testCustomBrandAddedTwiceReturnsFalse()
    {
        $this->assertTrue($this->card->addSupportedBrand('omniexpress', '/^9\\d{12}(\\d{3})?$/'));
        $this->assertArrayHasKey('omniexpress', $this->card->getSupportedBrands());
        $this->assertFalse($this->card->addSupportedBrand('omniexpress', '/^9\\d{12}(\\d{3})?$/'));
    }
CreditCardTest