/** * Tests the loading of libraries */ public function testLibraryLoad() { $expected = 'Failed to load class `SomeInvalidLibrary` from path ``.'; $this->assertException($expected, function () { Libraries::load('SomeInvalidLibrary', true); }); }
/** * Tests the loading of libraries * * @return void */ public function testLibraryLoad() { $this->expectException('Failed to load class `SomeInvalidLibrary` from path ``.'); Libraries::load('SomeInvalidLibrary', true); }
/** * Tests the loading of libraries * * @return void */ public function testLibraryLoad() { $this->expectException('Failed to load SomeInvalidLibrary from '); Libraries::load('SomeInvalidLibrary', true); }