Gary Ballance hit a dazzling 139 as Yorkshire beat the Unicorns by 32 runs in the Yorkshire Bank 40 League at Headingley.
It was just the sort of warm-up that Ballance wanted ahead of England Lions' two-day encounter against the Australians starting on Friday at Northampton, and his two other county colleagues in the national side also enjoyed an outstanding match.
Alex Lees scored a faultless 63 off 74 balls with six boundaries and put on 134 in 23 overs with Ballance, who was later joined in a frenzied stand of 76 in only 35 balls by Liam Plunkett, the all-rounder striking 25 not out off 16 balls and going on to take a couple of wickets.
The star of the batting show, however, was undoubtedly Ballance in making Yorkshire's only century in the competition so far this season, his runs coming off 113 deliveries with 15 fours and three sixes, but off-spinner Jack Leaning hogged the limelight later on with an astonishing return of five for 22 off four overs.
The Unicorns, who had a worthy century-maker of their own in Matt Lineker, were set 267 to win the Group C clash, but were eventually out for 234 in 38.2 overs.
Yorkshire made a poor start with captain Andrew Gale pushing forward to Dominic Reed in the third over and caught at second slip by Lineker. It became 16 for two in the following over as Dan Hodgson hung out his bat at Chris Skidmore and was held at first slip by Keith Parsons.
Lees and Ballance soon mastered the situation and began to score freely. Both batsmen reached their half-centuries before Garry Park trapped Lees lbw. Adam Lyth was then bowled by Park when aiming through mid-wicket and Jack Leaning fell to Aneurin Norman.
That made it 185-5 in the 34th over but Ballance and Plunkett suddenly unleashed a torrent of strokes, with the former galloping to his century off 98 balls with 10 fours and a six.
Ballance's run spree continued until the last over of the innings when he went for another big hit, this time off Beaven, and was caught in front of the football stand by Park.
Yorkshire's 266-6, their highest score of the season, was always going to prove challenging for Unicorns but they went about their task with gusto and kept themselves up with the required rate.
Tom Lancefield and Lineker, who had a first-class season with Derbyshire in 2011, put on 77 in 14 overs for the first wicket before Lancefield slashed at Plunkett and was caught behind for 39.
While the stylish Lineker was still there Unicorns were always in with a chance and he reached his 50 off 56 balls with five fours.
At the 30-over stage they were 176-4 compared to Yorkshire's 169-3, but Lewis Hill was caught hitting out at Plunkett and there was relief in the home camp when Lineker tried to sweep the off-spin of Leaning and was lbw for 107 from 105 balls with nine fours and a six.
Leaning also got rid of the dangerous Parsons and was far from finished because in the 38th over, with 38 wanted, he bowled Beaven and had both Norman and Reed caught to finish with five for 22, Yorkshire's best figures of the season.