'Handler to assert the value returned by the counter_type\'s calculator on the given sample.'

def assertPropertyValue(self, counter_type, value):

    calculator = get_calculator(counter_type)
    self.assertEquals(value, calculator(self.previous, self.current, 'WMIPropertyName'))
