'Check that the rdfproto is the same as the sample.'

def CheckRDFValue(self, value, sample):

    self.assertIsInstance(sample, self.rdfvalue_class)
    self.assertIsInstance(value, self.rdfvalue_class)
    self.assertRDFValuesEqual(value, sample)
