def test_set_object(self):
        obj = FaultError()
        batch_item = BatchItemResponse()
        batch_item.set_object(obj)

        self.assertEquals(batch_item._original_object, obj)
        self.assertEquals(batch_item.Error, obj)
    def test_get_object(self):
        obj = Fault()
        batch_item = BatchItemResponse()
        batch_item.set_object(obj)

        self.assertEquals(batch_item.get_object(), obj)