The opera is set in Naples in the 18th century. Don Alfonso wagers two young soldiers that their sweethearts will prove unfaithful if given the chance. The men accept the bet. They tell their sweethearts that they have been called to the front and leave Naples.