def METHOD_NAME(self, gatewaywrapper, image):
    marshalled = image.simpleMarshal()
    assert marshalled == {
        'description': '',
        'author': 'Author ',
        'date': 1429578900.0,
        'type': 'Image',
        'id': image.getId(),
        'name': 'an image'
    }