England allrounder Ben Stokes, accused of involvement in an altercation outside a nightclub that cost him his place on the Ashes tour, pleaded not guilty to a charge of affray in court on Tuesday.