StatusBar statusBar = new StatusBar();
JFrame frame = new JFrame();
frame.add(statusBar, BorderLayout.CENTER);
FrameFixture frameFixture = new FrameFixture(robot, frame);
frame.setSize(400, 30);
frame.validate();
frameFixture.show();
// Previous test checks two-digit field values, this test checks that single-digit
// values and zeros are correctly padded.
statusBar.populationUpdate(new PopulationData<Object>(new Object(), 10, 8, 2, true, 10, 1, 0, 1000));