public function testInvalidatesOnPostPutDeleteRequests() {
foreach (array(
'post',
'put',
'delete',
) as $method) {
$this
->setNextResponse(200);
$this
->request($method, '/');
$this
->assertHttpKernelIsCalled();
$this
->assertResponseOk();
$this
->assertTraceContains('invalidate');
$this
->assertTraceContains('pass');
}
}