public function testUpdatesData()
{
$updateData = ['friendlyName' => 'wow a name'];
$this->connection->patchDataset(Argument::any())->willReturn($updateData)->shouldBeCalledTimes(1);
$dataset = $this->getDataset($this->connection, ['friendlyName' => 'another name']);
$dataset->update($updateData);
$this->assertEquals($updateData['friendlyName'], $dataset->info()['friendlyName']);
}