Java calculator example from The Cucumber Book