public function testEmptyRequiredOptions() { $expected = "/`'type'`, `'fieldName'` and `'from'` options can't be empty./"; $this->assertException($expected, function () { new Relationship(); }); }