public function testEntityHydratorCanHydrate()
 {
     $data = ['name' => 'fooName', 'description' => 'fooDescription', 'url' => 'fooUrl', 'owner' => 'fooOwner', 'module_id' => 999, 'created_at' => '2013-02-28 13:05:00', 'updated_at' => '2014-05-10 06:48:15', 'photo_url' => 'fooPhotoUrl'];
     $module = new Module();
     $module->setCreatedAt('2013-02-28 13:05:00');
     $module->setUpdatedAt('2014-05-10 06:48:15');
     $module->setDescription('fooDescription');
     $module->setId(999);
     $module->setName('fooName');
     $module->setOwner('fooOwner');
     $module->setPhotoUrl('fooPhotoUrl');
     $module->setUrl('fooUrl');
     $hydrator = new ModuleHydrator();
     $this->assertEquals($module, $hydrator->hydrate($data, new Module()));
 }
 public function testSetUpdatedAt()
 {
     $updatedAt = '2013-02-28 13:05:00';
     $this->module->setUpdatedAt($updatedAt);
     $this->assertSame($updatedAt, $this->module->getUpdatedAt());
 }