def METHOD_NAME(target_machine) -> NetworkModelUpdateFacade:
    METHOD_NAME = MagicMock(ispec=NetworkModelUpdateFacade)
    METHOD_NAME.get_or_create_target_machine = lambda target: target_machine
    return METHOD_NAME