public function testDecimalTypesAreUnmarshalled() { $object = new DomainObject(array('type' => 'Llama', 'weight' => 88.5)); $object->save(); $llamaById = DomainObject::byId(1); $this->assertSame($llamaById->weight, 88.5); }