'Tests dumping nonexistent ACPI table.'

def testDumpInvalidACPITable(self):

    client_mock = DumpACPITableMock()
    table_signature_list = ['ABC']
    session_id = None
    for s in flow_test_lib.TestFlowHelper(hardware.DumpACPITable.__name__, client_mock, table_signature_list=table_signature_list, client_id=self.client_id, token=self.token):
        session_id = s
    logs = flow.GRRFlow.LogCollectionForFID(session_id, token=self.token)
    self.assertIn('Unable    to    retrieve    ACPI    table    with    signature    ABC', [log.log_message for log in logs])
