When you insert a toothpick in to the center of the cake and it comes out clean but with a few moist crumbs — no wet batter! — then the cake is done. You don’t want to over bake the cake or it will be dry.