public function testShape()
{
$oStub = $this->getMockForAbstractClass('PhpOffice\\PhpPresentation\\AbstractShape');
$object = new Animation();
$this->assertInternalType('array', $object->getShapeCollection());
$this->assertCount(0, $object->getShapeCollection());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide\\Animation', $object->addShape($oStub));
$this->assertInternalType('array', $object->getShapeCollection());
$this->assertCount(1, $object->getShapeCollection());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide\\Animation', $object->setShapeCollection());
$this->assertInternalType('array', $object->getShapeCollection());
$this->assertCount(0, $object->getShapeCollection());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide\\Animation', $object->setShapeCollection(array($oStub)));
$this->assertInternalType('array', $object->getShapeCollection());
$this->assertCount(1, $object->getShapeCollection());
}