def METHOD_NAME(self):
    action = SampleAction()
    action.process([
        {'id': '1', 'name': 'one', 'message': 'foo', 'resourceGroup': 'rg'},
        {'id': '2', 'name': 'two', 'message': 'bar'}],
        None)
    self.assertEqual(2, action.log.info.call_count)
    action.log.info.assert_any_call(
        "Action 'test' modified 'one' in resource group 'rg'. foo",
        extra={'properties': {'resource_id': '1', 'action': 'test'}})
    action.log.info.assert_any_call(
        "Action 'test' modified 'two' in resource group 'unknown'. bar",
        extra={'properties': {'resource_id': '2', 'action': 'test'}})