If you don't have a toothpick, you can use a thin knife or a cake tester. Insert it into the center of the cake; the cake is finished if it comes out clean with no wet batter. Another method is to lightly press the surface of the cake—if it springs back, it is likely done.