You are here

function Braintree_ConfigurationTest::testSetInvalidEnvironment in Commerce Braintree 7

@expectedException Braintree_Exception_Configuration @expectedExceptionMessage environment needs to be set

File

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

Class

Braintree_ConfigurationTest

Code

function testSetInvalidEnvironment() {
  Braintree_Configuration::environment('invalid');
  Braintree_Configuration::reset();
}