def testProcessOnDatabaseWithPartitionsExTable(self):
    'Tests the Process function on database with a PartitionsEx table.'
    plugin = msie_webcache.MsieWebCacheESEDBPlugin()
    storage_writer = self._ParseESEDBFileWithPlugin(['PartitionsEx-WebCacheV01.dat'], plugin)
    self.assertEqual(storage_writer.number_of_events, 4200)
    self.assertEqual(storage_writer.number_of_extraction_warnings, 3)
    self.assertEqual(storage_writer.number_of_recovery_warnings, 0)
    events = list(storage_writer.GetSortedEvents())
    expected_event_values = {'access_count': 5, 'cache_identifier': 0, 'cached_file_size': 726, 'cached_filename': 'b83d57c0[1].svg', 'container_identifier': 14, 'data_type': 'msie:webcache:container', 'date_time': '2019-03-20 17:22:14.0000000', 'entry_identifier': 63, 'sync_count': 0, 'response_headers': '[HTTP/1.1 200; content-length: 726; content-type: image/svg+xml; x-cache: TCP_HIT; x-msedge-ref: Ref A: 3CD5FCBC8EAD4E0A80FA41A62FBC8CCC Ref B: PRAEDGE0910 Ref C: 2019-12-16T20:55:28Z; date: Mon, 16 Dec 2019 20:55:28 GMT]', 'timestamp_desc': definitions.TIME_DESCRIPTION_MODIFICATION, 'url': 'https://www.bing.com/rs/3R/kD/ic/878ca0cd/b83d57c0.svg'}
    self.CheckEventValues(storage_writer, events[100], expected_event_values)
Tests the Process function on database with a PartitionsEx table.
def testProcessOnDatabaseWithPartitionsExTable(self):
    
    plugin = msie_webcache.MsieWebCacheESEDBPlugin()
    storage_writer = self._ParseESEDBFileWithPlugin(['PartitionsEx-WebCacheV01.dat'], plugin)
    self.assertEqual(storage_writer.number_of_events, 4200)
    self.assertEqual(storage_writer.number_of_extraction_warnings, 3)
    self.assertEqual(storage_writer.number_of_recovery_warnings, 0)
    events = list(storage_writer.GetSortedEvents())
    expected_event_values = {'access_count': 5, 'cache_identifier': 0, 'cached_file_size': 726, 'cached_filename': 'b83d57c0[1].svg', 'container_identifier': 14, 'data_type': 'msie:webcache:container', 'date_time': '2019-03-20 17:22:14.0000000', 'entry_identifier': 63, 'sync_count': 0, 'response_headers': '[HTTP/1.1 200; content-length: 726; content-type: image/svg+xml; x-cache: TCP_HIT; x-msedge-ref: Ref A: 3CD5FCBC8EAD4E0A80FA41A62FBC8CCC Ref B: PRAEDGE0910 Ref C: 2019-12-16T20:55:28Z; date: Mon, 16 Dec 2019 20:55:28 GMT]', 'timestamp_desc': definitions.TIME_DESCRIPTION_MODIFICATION, 'url': 'https://www.bing.com/rs/3R/kD/ic/878ca0cd/b83d57c0.svg'}
    self.CheckEventValues(storage_writer, events[100], expected_event_values)