Developing medicines that mimic resistance mutations