installMe(__DIR__) ->apply(); } /** * The setup() method is executed before the test is executed (optional). */ public function setUp() { parent::setUp(); } /** * The tearDown() method is executed after the test was executed (optional) * This can be used for cleanup. */ public function tearDown() { parent::tearDown(); } /** * Simple example test case. * * Note how the function name begins with the word "test". */ public function testApiExample() { $result = civicrm_api3('Invoicegen', 'Generate', array('magicword' => 'sesame')); $this->assertEquals('Twelve', $result['values'][12]['name']); } }