public function testIsProxyTrusted() { $this ->startTrustingProxyData(); $this ->assertTrue(Request::isProxyTrusted()); $this ->stopTrustingProxyData(); $this ->assertFalse(Request::isProxyTrusted()); }