If you love to snack on chocolate regularly, you probably know that it contains caffeine. Does this mean that eating a chocolate bar can have the same effect as drinking a cup of coffee? Will eating chocolate too late at night cause you to lie awake in bed, tossing and turning all night as you frantically try to fall asleep?