for the chocolate cake:
- 1 3/4 cups sugar
- 3/4 cups dark cocoa powder
- 2 cups flour
- 1 1/2 teaspoon baking soda
- 2 teaspoons baking powder
- 1 teaspoon salt
- 3/4 cup vegetable oil
- 2 teaspoons vanilla extract
- 3 large eggs
- 1 cup buttermilk
- 1/2 cup strongly brewed coffee
for the cookie dough filling
- 3/4 cup unsalted butter, room temperature
- 1 cup brown sugar, packed
- 1/4 cup granulated sugar
- 4 Tablespoons pasteurized egg whites*
- 2 teaspoons vanilla extract
- 1 2/3 cup all purpose flour, tempered*
- pinch of baking soda
- 1/2 teaspoon salt
- 1 cup mini chocolate chips
for the chocolate frosting
- 1/2 cup unsalted butter, room temperature
- 1 1/2 cups powdered sugar (about 1 lb)
- 1/2 cup unsweetened cocoa powder
- 1–3 Tablespoons milk
- 1/4 teaspoon salt
- 1 teaspoon vanilla extract
- 1/4 teaspoon espresso powder
for the cake
- Preheat oven to 350°F. Grease and line three 6 inch cake pans OR two 8-inch cake pans with parchment paper.
- In a large bowl, whisk together sugar, cocoa powder, flour, baking soda, baking powder, and salt. In a separate bowl, whisk oil, vanilla, eggs, and buttermilk.
- Pour the wet ingredients into the dry, whisking until no lumps remain. Pour in brewed coffee, mixing until just combined.
- Pour batter into prepared pans and bake for roughly 30 minutes, or until a knife inserted in the center of the cake comes out clean. Cool completely on a wire rack before frosting.
make the filling and frosting and assemble.
- While the cakes cool, make the cookie dough filling. In a stand mixer fit with the paddle attachment beat the butter, brown sugar and granulated sugar together until light and fluffy.
- Scrape down the bowl and add the pasteurized egg whites and vanilla extract and mix well.
- Add the flour, salt, and baking soda and mix until combined. Last, add the chocolate chips. Transfer the cookie dough to a separate bowl.
- Next, make the chocolate buttercream. Place the room temperature butter in a stand mixer fit with the whisk attachment. Beat the butter until creamy. Scrape down the bowl and add the cocoa powder. Beat on low speed and gradually increase to high speed until homogenous.
- Scrape down the bowl and add the powdered sugar, vanilla extract, espresso powder and 3 Tablespoons of milk to start. Beat on low speed and gradually increase to high speed, beating until light and fluffy.
- If the frosting feels too stiff, add more milk one tablespoon at a time. If it feels too liquidy, add in 1 tablespoon of powdered sugar at a time until frosting reaches its desired consistency.
- Frost the cake by placing the first cake layer onto a cake stand. Top with about 1/3 of the cookie dough mixture, patting it into an even layer. Repeat with the second layer and another 1/3 of the cookie dough. Firmly press the third cake on top of the cookie dough layer.
- Frost the top and sides of the cake with the chocolate buttercream, using an offset spatula to smooth out the sides of the cake. If desired, roll the remaining cookie dough into little cookie dough truffles and decorate the top of the cake. If not, you can always just save the remaining edible cookie dough for snacking on later!
- To temper the all purpose flour for the cookie dough filling, line a baking sheet with parchment paper and preheat the oven to 325°F. Spread the flour out into an even layer. Place in the oven and bake for 2 minutes, using a rubber spatula to stir the flour every so often. Repeat for 15 minutes or until the flour has reached 165°F. Remove the flour for the oven and allow to cool before using in the cookie dough filling.