/** * @expectedException ReflectionException */ public function test__callWithoutLoadedConnection() { $this->assertSame(3, $this->object->fakeMethod()); }