/**
  * @test
  */
 public function CacheOnException_DonTSave()
 {
     try {
         $this->proxy->cacheMethodWithException();
         $this->fail('Exception should be thrown');
     } catch (\Exception $e) {
         $this->assertFalse($this->cacheProviderDecorator->contains('OpenClassrooms\\ServiceProxy\\Tests\\Doubles\\CacheAnnotationClass::cacheMethodWithException'));
     }
 }