A jury has been shown the moment an electrician was allegedly attacked with a glass bottle by three teenagers.