//tell pagebook to track this as an embedded widget
pageBook.embedAs(MyEmbeddedPage.class, MyEmbeddedPage.MY_FAVE_ANNOTATION)
.apply(Chains.terminal());
final Respond mockRespond = RespondersForTesting.newRespond();
widget.render(new TestBackingType("Dhanji", "content", 12), mockRespond);
final String s = mockRespond.toString();
assert "<html><div class=\"content\">hello </div></html>"
.equals(s) : "Did not write expected output, instead: " + s;
}