Woman ‘woke to find Mendy on top of her’, court told