public function get() { return $this->entity; }
public function testSet() { $data = ['foo' => 'bar']; $entity = new Entity($this->key, []); $entity->set($data); $this->assertEquals($data, $entity->get()); }