You are here

function Braintree_ConfigurationTest::testCaFile in Commerce Braintree 7

File

braintree_php/tests/unit/ConfigurationTest.php, line 54

Class

Braintree_ConfigurationTest

Code

function testCaFile() {
  Braintree_Configuration::environment('development');
  $this
    ->setExpectedException('Braintree_Exception_SSLCaFileNotFound');
  Braintree_Configuration::caFile('/does/not/exist/');
}