def METHOD_NAME(self):
    # given
    image_array = numpy.array([[[1], [2]], [[3], [4]], [[5], [6]]])
    expected_array = numpy.array([[1, 2], [3, 4], [5, 6]]) * 255
    expected_image = Image.fromarray(expected_array.astype(numpy.uint8))
    # expect
    self.assertEqual(get_image_content(image_array), _get_pil_image_data(expected_image))