A perfectly cooked mug cake will be puffed up, with edges pulling away from the sides of the mug. Insert a toothpick into the center – if it comes out clean or with a few moist crumbs, it's ready to enjoy.