Brew a shot of espresso. Pour it into a bowl and allow it to cool. You don't want to use hot espresso as it'll melt the ice cubes and water down the drink.
Add ice cubes to the cocktail shaker and shake vigorously for 20 seconds, until the shaker is cold. Strain martini glasses and garnish with 3 espresso beans.