A PSNI officer charged with harassing his ex-partner, also a police officer, has denied the offence.