/**
  * @expectedException \Opensoft\SimpleSerializer\Exception\RecursionException
  */
 public function testNormalizationRecursionException()
 {
     $objectComplex = new Recursion();
     $objectComplex->setObject($objectComplex);
     $this->unitUnderTest->normalize($objectComplex);
 }
 /**
  * @expectedException \Opensoft\SimpleSerializer\Exception\RecursionException
  */
 public function testToArrayRecursionException()
 {
     $objectComplex = new Recursion();
     $objectComplex->setObject($objectComplex);
     $this->unitUnderTest->toArray($objectComplex);
 }