$this->assertEquals('en',$langcode,"The node's langcode was updated to value en (after submission).");
$this->assertEquals($langcode,$this->paragraph->language()->getId(),"The paragraph's updated langcode was inherited from its parent (after submission).");
$this->assertEquals('es',$langcode,"The node's langcode was set to es (after rebuild and submission).");
$this->assertEquals($langcode,$this->paragraph->language()->getId(),"The paragraph's langcode was inherited from its parent (after rebuild and submission).");
}
/**
* Builds the node form.
*
* @param bool $embedded
* (Optional) Whether the embedded form should be used or not.