def METHOD_NAME(self):
    # An array structure which has a length which is a product
    # of potential dimensions should not result in an array
    struct = ArrayStructure(2, [1, 2, 3])
    orig = np.array([1, 1, 2, 2, 3, 3])
    msg = "Original array and target shape do not match up."
    with self.assertRaisesRegex(ValueError, msg):
        struct.nd_array_and_dims(orig, (2, 3, 2), order=self.order)