public function testKeyWithNamespaceIdOverride()
{
$op = new Operation($this->connection->reveal(), 'foo', 'namespace', $this->mapper);
$key = $op->key('Person', 'Bob', ['namespaceId' => 'otherNamespace']);
$obj = $key->keyObject();
$this->assertEquals('otherNamespace', $obj['partitionId']['namespaceId']);
}