public function testGetTest() { $files = array('1.js', '2.js'); $callback = 'function() { callback(); }'; $complete = 'function() { complete(); }'; Yepnope::add_files($files, $callback, $complete, 'test-id'); $test = Yepnope::get_test('test-id'); $this->assertInstanceOf('YepnopeTestObject', $test); }