I believe that this is a small shot glass, which makes it perfect for making something look like alcohol, when it really isn't.
All you need : cake mix (maybe the remainder of it, because you need so little). Shot glass (preferably mug-shaped). White frosting!
Step 1: Baking Ze Beer!
Fill only half way full!
Okay, oven is at 325, I used white cake, (with sprinkles lol), you can spray the glass with pam if you'd like. Bake for around 9 minutes, depending on the size of your shot glass. Pull out of the oven as soon as you have a toothpick that comes clean once you've pierced your beer.
Completely remove from heat so that the cupcake doesn't continue to cook anymore than it already will, being in a hot glass.