This is a mini mug-cake, not a cup-cake. But it's still kinda a cupcake.
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!
Pre-heat oven to 325, and be careful, my disclaimer is - don't hold me accountable for what you put in your oven. My experiment went well, so if you have a shot glass that looks strong enough, your experiment may go well, also. *Good Luck!* :)
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.
Step 2: Icing!
I just iced it with my fingertip while it was still hot, so it went on smoothly and I was able to force some over the edge of the glass and it continued to melt it's way down. It looks pretty accurate. It would be best if you didn't use sprinkle cupcake mix, too! Maybe try a beer cake recipe for this one, to make it even more authentic. :)