def METHOD_NAME(self):
    action = SampleAction()
    action.process([{'id': '1', 'message': 'foo'}, {'id': '2', 'message': 'foo'}], None)
    self.assertEqual(2, action.log.info.call_count)
    action.log.info.assert_any_call(
        ANY,
        extra={'properties': {'resource_id': '1', 'action': 'test'}})
    action.log.info.assert_any_call(
        ANY,
        extra={'properties': {'resource_id': '2', 'action': 'test'}})