/** * Test the __callStatic method. * * @group laravel */ public function testPayloadCanBeCalledStaticly() { Session::$instance = new DummyPayload(); $this->assertEquals('Foo', Session::test()); }