Wainwright to play for former teammate