i.e. test that this element is present:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" id="charset">
!|com.jbergin.HtmlFixture|
|http://www.cafeconleche.org/demo/petition.phtml|
|Element Focus|charset|meta|
|Attribute|content|text/html; charset=utf-8|
|Attribute|http-equiv|content-type|
Set the classpath
Load the HTMLFixture
Load the URL for the page we're testing.
Find the element whose ID is charset
and assert that its name is meta
.
Assert that this element has an attribute with the name content
whose value is "text/html; charset=utf-8"
Assert that this element also has an attribute with the name http-equiv
whose value is "content-type"