import FWCore.ParameterSet.Config as cms

process = cms.Process("TEST")

process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(5)
)

process.source = cms.Source("EmptySource")

process.m = cms.EDAnalyzer("TestESDummyDataAnalyzer",
    expected = cms.int32(4),
    nEvents = cms.untracked.int32(5),
    totalNEvents = cms.untracked.int32(10)
)

#Dummy looper will loop twice
process.looper = cms.Looper("DummyLooper",
    value = cms.untracked.int32(4)
)

process.p1 = cms.Path(process.m)
