def METHOD_NAME(self):
    if self.type is None:
        return
    array = jarray.array([self.instance, self.default_value], self.type)
    self.assertValueEqual(array[0], self.instance)
    self.assertValueEqual(array[1], self.default_value)
    with self.assertRaises(TypeError):
        jarray.array([self.instance, self.bad_instance], self.type)
    def gen():
        yield self.instance
        yield self.default_value
    array = jarray.array(gen(), self.type)
    self.assertValueEqual(array[0], self.instance)
    self.assertValueEqual(array[1], self.default_value)
    with self.assertRaises(TypeError):
        jarray.array(5, self.type)