def METHOD_NAME(jca, mockReplyInput, expected):
    """Testing JobCleaningAgent().removeDeletedJobs()"""
    mockReply.return_value = mockReplyInput
    result = jca.removeDeletedJobs()
    assert result == expected