def METHOD_NAME(self):
    cs = c_wstring(u"abcdef")
    # XXX This behaviour is about to change:
    # len returns the size of the internal buffer in bytes.
    # This includes the terminating NUL character.
    self.assertEqual(sizeof(cs), 14)
    # The value property is the string up to the first terminating NUL.
    self.assertEqual(cs.value, u"abcdef")
    self.assertEqual(c_wstring(u"abc\000def").value, u"abc")
    self.assertEqual(c_wstring(u"abc\000def").value, u"abc")
    # The raw property is the total buffer contents:
    self.assertEqual(cs.raw, u"abcdef\000")
    self.assertEqual(c_wstring(u"abc\000def").raw, u"abc\000def\000")
    # We can change the value:
    cs.value = u"ab"
    self.assertEqual(cs.value, u"ab")
    self.assertEqual(cs.raw, u"ab\000\000\000\000\000")
    self.assertRaises(TypeError, c_wstring, "123")
    self.assertRaises(ValueError, c_wstring, 0)