def METHOD_NAME(self, memoryview=memoryview):
    buf = c_buffer(32)
    buf.value = "Hello, World"
    self.assertEqual(buf.value, "Hello, World")
    self.assertRaises(TypeError, setattr, buf, "value", memoryview("Hello, World"))
    self.assertRaises(TypeError, setattr, buf, "value", memoryview("abc"))
    self.assertRaises(ValueError, setattr, buf, "raw", memoryview("x" * 100))