public HtmlCreator center(String text) {
        html.append("<center>").append(text).append("</center>");
        return this;
    }
@Test
    public void testCenter() {
        htmlCreator.center("Hello");
        Assert.assertEquals(true, htmlCreator.html().contains("<center>Hello</center>"));
    }