public function testMagicSet() { $this->Media->foo = 'bar'; $this->assertEquals('bar', $this->Media->foo); }