/** * @expectedException \Enum\EnumException */ public function testAllThrowsExceptionWhenClassDoesntExist() { Enum::all('some_fake_class'); }