Assume you have plans to look out for a new job in the not too-distant future (a few months), but your current employer is investing in you heavily, planning to send you to a very expensive training (several thousand USD).
Likely, it will not be possible to cancel the training and get the money back for the company, at least not fully,
but you will likely never be able to apply what you have learned as you will leave the company very soon after that training. Of course, if you were to inform your current employer about your plans, they could well choose another person or just save the money.
On the other hand, obviously, it may be wise to not inform your current employer about your plans to leave the company, as you still do not know 100% sure whether it is going to work out with the new job and you are afraid it could be detrimental to your career in case you stay with the current company longer than expected.
What would you do in such a dilemma?