public function testLibraryLoad() { $expected = 'Failed to load class `SomeInvalidLibrary` from path ``.'; $this->assertException($expected, function () { Libraries::load('SomeInvalidLibrary', true); }); }