public function test_finish_page_works_with_valid_hash_for_successful_secret_santa()
{
$secretSanta = new SecretSanta('azerty', ['toto1' => 'toto2', 'toto2' => 'toto3'], null);
$secretSanta->markAssociationAsProceeded('toto1');
$secretSanta->markAssociationAsProceeded('toto2');
$client = static::createClient();
$this->prepareSession($client, 'secret-santa-azerty', $secretSanta);
$crawler = $client->request('GET', '/finish/azerty');
$response = $client->getResponse();
$this->assertSame(200, $response->getStatusCode());
$this->assertGreaterThan(0, $crawler->filter('html:contains("Well done! All messages were sent")')->count());
}