<?php } elseif ($statement->status() === 204) {
array_unshift($assertions['response'], '$response->assertNoContent();');
} else {
array_unshift($assertions['response'], '$response->assertNoContent(' . $statement->status() . ');');
}
} elseif ($statement instanceof SessionStatement) {
$assertions['response'][] = sprintf('$response->assertSessionHas(\'%s\', %s);', $statement->reference(), '$' . str_replace('.', '->', $statement->reference()));