def METHOD_NAME(self):
    """Tests _find_violations passes log sink configs to the rule engine."""
    log_sink_data = [
        ('resource-1', 'resource-1-log-sinks'),
        ('resource-2', 'resource-2-log-sinks'),
        ('resource-3', 'resource-3-log-sinks')
    ]
    self.scanner.rules_engine.find_violations.side_effect = [
        ['viol-1', 'viol-2'], [], ['viol-3']]
    violations = self.scanner._find_violations(log_sink_data)
    self.scanner.rules_engine.find_violations.assert_has_calls(
        [mock.call(parent, data) for parent, data in log_sink_data])
    self.assertEqual(['viol-1', 'viol-2', 'viol-3'], violations)