public function testSetGetProperties()
{
$def = new Definition('stdClass');
$this->assertEquals(array(), $def->getProperties());
$this->assertSame($def, $def->setProperties(array('foo' => 'bar')));
$this->assertEquals(array('foo' => 'bar'), $def->getProperties());
}