Insert a toothpick into the center of the cake; if it comes out clean or with a few moist crumbs (not wet batter), the cake is done.