'Check that arrays with a forced type are enforced.'

def testEnforcedArray(self):

    sample = TestRDFValueArray()
    sample.Append('hello')
    self.assertIsInstance(sample[0], rdfvalue.RDFString)
    self.assertRaises(ValueError, sample.Append, rdfvalue.RDFDatetime.Now())
