A Greenock man accused of making a violent threat towards a retail worker at a Gourock supermarket is set to stand trial later this year.