In a bowl, mix flour, baking powder, baking soda, and cocoa powder, set aside.
In a separate bowl, cream margarine and sugar then mix in egg followed with vanilla extract.
Mix in flour bits by bits then followed with milk.
Preheat oven to 350 F
Grease and flour molds generously, then pour in batter. Bake for 20-30 minutes (until knife inserted in the center comes out clean
Remove cakes from molds when they are cooled.
Mix in raspberry jam with cream cheese and fill in the center of each cake; flip one cake over the other cake.
Frost; or covered with fondant as I did, before applying fondant, do spread a little raspberry jam all over the cake.