def METHOD_NAME(self):
    my_box = {
        "type": "box",
        "boxType": "plot",
        "fileId": "AdamKulidjian:327",
        "shareKey": None,
        "title": "box 1",
    }
    dash = dashboard.Dashboard()
    message = (
        "Invalid path. Your 'path' list must only contain "
        "the strings 'first' and 'second'."
    )
    self.assertRaisesRegex(PlotlyError, message, dash._insert, my_box, "third")