public function testSerialize() { $this->assertEquals(json_encode($this->Media->properties()), json_encode($this->Media)); }