public function testIsParentDocumentSet() { $this->assertFalse($this->_bob->isParentDocumentSet()); // Butcher an instance so it thinks it's parent is a document set $sarah = new My_ShantyMongo_User(null, array('parentIsDocumentSet' => true)); $this->assertTrue($sarah->isParentDocumentSet()); }