A person is cooking a chocolate cake for 25 to 30 minutes, depending on how moist they want it.