def METHOD_NAME(self, mock_logger):
    builder = scanner_builder.ScannerBuilder(
        FAKE_GLOBAL_CONFIGS,
        fake_runnable_scanners.NONEXISTENT_RULES_ENABLED,
        mock.MagicMock(),
        '',
        FAKE_TIMESTAMP)
    runnable_scanners = builder.build()
    rules_path = os.path.join(fake_runnable_scanners.test_rules_path,
                              'firewall_rules.yaml')
    mock_logger.error.assert_called_with(
        f'Rules file for Scanner firewall_rule does not '
        f'exist. Rules path: {rules_path}')
    self.assertEqual(0, len(runnable_scanners))