progressBar.setMarkupId(markupId);
progressBar.active(true);
startComponentInPage(progressBar);
// System.err.println("RES:\n" + tester().getLastResponseAsString());
TagTester progressBarTester = tester().getTagById(markupId);
assertEquals("progress active progress-striped", progressBarTester.getAttribute("class"));
TagTester stackTester = progressBarTester.getChild("class", "progress-bar progress-bar-danger");
assertEquals("progressbar", stackTester.getAttribute("role"));
assertEquals("width: "+progress+"%", stackTester.getAttribute("style"));
assertEquals("" + progress, stackTester.getAttribute("aria-valuenow"));
assertEquals("" + ProgressBar.MIN, stackTester.getAttribute("aria-valuemin"));
assertEquals("" + ProgressBar.MAX, stackTester.getAttribute("aria-valuemax"));
TagTester stackLabelTester = stackTester.getChild("class", "sr-only");
assertEquals("" + progress + "%", stackLabelTester.getValue());
}