El Cajon Police officer testifies in assault case