def METHOD_NAME(network_model_update_facade, node_repository):
    network_model_update_facade.upsert_communication_from_event(
        TEST_EVENT, CommunicationType.SCANNED
    )
    node_repository.upsert_communication.assert_called_with(
        SOURCE_MACHINE_ID, TARGET_MACHINE_ID, CommunicationType.SCANNED
    )