def METHOD_NAME(self):
    self.fiscal_document.document_electronic = True
    assert (
        self.fiscal_document.state_edoc == SITUACAO_EDOC_EM_DIGITACAO
    ), "Error with document workflow, state 'SITUACAO_EDOC_A_ENVIAR' "
    self.fiscal_document.action_document_confirm()
    self.fiscal_document.action_document_back2draft()
    assert (
        self.fiscal_document.state_edoc == SITUACAO_EDOC_EM_DIGITACAO
    ), "Error with document workflow, state 'SITUACAO_EDOC_A_ENVIAR' "