public function testSetMap() { $map = array('property' => 'attribute'); $transformer = new Transformer(); $transformer->setTransformationMap($map); $this->assertEquals($map, $transformer->getTransformationMap()); }