'Destructive tests for S3DateTime.date_represent'

def testDateRepresentDestructive(self):

    assertEqual = self.assertEqual
    assertRaises = self.assertRaises
    represent = S3DateTime.date_represent
    NONE = current.messages['NONE']
    rstr = represent(None)
    assertEqual(rstr, NONE)
    with assertRaises(TypeError):
        rstr = represent(15)
    with assertRaises(TypeError):
        rstr = represent('Invalid    Type', utc=True)
