Preheat the oven to 350f and grease and line two cake tins.
Cream together the butter and sugar until light and fluffy then add in the egg and vanilla extract and beat until smooth.
In a separate bowl sift together the flour, cocoa, baking soda and salt then add one spoonful at a time to the butter mixture and alternate with the sour cream and cooled coffee, starting and ending with the flour.
Beat until just combined but do not over mix.
Place into the oven to bake for around 25 minutes and until a toothpick comes out clean when inserted in the centre of the cakes.
Once removed from the oven, allow to cool in the cake tin for ten minutes then remove to a wire rack to cool completely.