You are here

function Braintree_ConfigurationTest::testValidateEmptyEnvironment in Commerce Braintree 7

@expectedException Braintree_Exception_Configuration @expectedExceptionMessage environment needs to be set

File

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

Class

Braintree_ConfigurationTest

Code

function testValidateEmptyEnvironment() {

  // try to get environment without setting it first
  Braintree_Configuration::environment();
}