A man has appeared in court accused of assault causing actual bodily harm.