def METHOD_NAME(self):
    """
    set up unit test generic objects
    """
    super(MSPileupTest, self).METHOD_NAME()
    cherrypy.request.user = "test"
    self.validRSEs = ['rse1', 'rse2']
    msConfig = {'reqmgr2Url': 'http://localhost',
                'authz_key': '123',
                'rucioAccount': 'wmcore_mspileup',
                'rucioUrl': 'http://cms-rucio-int.cern.ch',
                'rucioAuthUrl': 'https://cms-rucio-auth-int.cern.ch',
                'mongoDB': 'msPileupDB',
                'mongoDBCollection': 'msPileupDBCollection',
                'mongoDBServer': 'mongodb://localhost',
                'mongoDBReplicaSet': '',
                'mongoDBUser': None,
                'mongoDBPassword': None,
                'validRSEs': self.validRSEs,
                'mockMongoDB': True}
    self.mgr = MSPileup(msConfig)
    pname = '/lksjdflksdjf/kljsdklfjsldfj/PREMIX'
    self.spec = {'pileupName': pname}
    expectedRSEs = self.validRSEs
    fullReplicas = 0
    campaigns = ['c1', 'c2']
    data = {
        'pileupName': pname,
        'pileupType': 'classic',
        'expectedRSEs': expectedRSEs,
        'currentRSEs': expectedRSEs,
        'fullReplicas': fullReplicas,
        'campaigns': campaigns,
        'containerFraction': 0.0,
        'replicationGrouping': "ALL",
        'active': True,
        'pileupSize': 0,
        'ruleIds': []}
    obj = MSPileupObj(data, validRSEs=self.validRSEs)
    for key in ['insertTime', 'lastUpdateTime', 'activatedOn', 'deactivatedOn']:
        self.assertNotEqual(obj.data[key], 0)
    self.assertEqual(obj.data['expectedRSEs'], expectedRSEs)
    self.assertEqual(obj.data['fullReplicas'], fullReplicas)
    self.assertEqual(obj.data['campaigns'], campaigns)
    self.doc = obj.getPileupData()