assert param == null : "Didn't get null, got " + param;
}
@Test
public void testOnBothSidesOfEquals() {
ParameterParser webFormsParser = new WebFormsParameterParser();
EndpointQuery query = generateCodePoints(
"lblMessage.Text = \"Message sent to \" + Request[\"email\"] + \" with subject \" + txtSubject.Text + \" and content \" + txtMessage.Text;",
"lblMessage.Text = \"Message sent to \" + Request[\"email\"] + \" with subject \" + txtSubject.Text + \" and content \" + txtMessage.Text;"
);
String param = webFormsParser.parse(query);
assert param != null : "Param was null.";
assert !param.equals("lblMessage") :
"Got lblMessage, but was expecting something else because " +
"lblMessages is on the left side of the equals.";