/** * @covers Paradox\pod\Document::remove */ public function testRemoveWithSystemKey() { try { $this->document->remove('_id'); } catch (\Exception $e) { $this->assertInstanceOf('Paradox\\exceptions\\PodException', $e, 'Exception thrown was not a Paradox\\exceptions\\PodException'); return; } $this->fail("Removing a system property on a document did not throw an exception"); }