Use a toothpick to poke the center of the cake. If it comes out clean, the cake is done. If it comes out wet, let it bake for a few minutes longer.