/** * @expectedException \InvalidArgumentException */ public function testUpsertInvalidData() { $ds = new SodaDataset($this->client, $this->id); $ds->upsert("muffin and buttons"); }
public function testUpsertInvalidData() { $this->expectException(\InvalidArgumentException::class); $ds = new SodaDataset($this->client, $this->id); $ds->upsert("muffin and buttons"); }