publicfunctiontestAssertResponseHeaderNotSame() { $this->getResponseTester(newResponse())->assertResponseHeaderNotSame('Cache-Control', 'public'); $this->expectException(AssertionFailedError::class); $this->expectExceptionMessage('Failed asserting that the Response does not have header "Cache-Control" with value "no-cache, private".'); $this->getResponseTester(newResponse())->assertResponseHeaderNotSame('Cache-Control', 'no-cache, private'); }