def METHOD_NAME():
    '''Unit test for kserve replace api'''
    with patch('kserve.api.kserve_client.KServeClient.replace',
               return_value=mocked_unit_result):
        isvc = generate_inferenceservice()
        assert mocked_unit_result == kserve_client.replace(
            'flower-sample', isvc, namespace='kubeflow')