public class InjectStandardStylesheetCommandTest extends InternalBaseTestCase
{
@Test
public void no_head_element()
{
Document d = new Document();
Environment env = mockEnvironment();
Asset asset = mockAsset();
d.newRootElement("foo");
String initial = d.toString();
train_peek(env, Document.class, d);
replay();
new InjectStandardStylesheetCommand(asset).cleanup(env);
assertEquals(d.toString(), initial, "Document structure should not change.");
verify();
}