Former Duntroon cadet takes stand to defend himself in rape trial