public void testPropertyIsLessThanOrEqualToEncode() throws Exception {
    PropertyIsLessThanOrEqualTo equalTo = FilterMockData.propertyIsLessThanOrEqualTo();

    Document dom = encode(equalTo, OGC.PropertyIsLessThanOrEqualTo);
    assertEquals(
        1, dom.getElementsByTagNameNS(OGC.NAMESPACE, OGC.PropertyName.getLocalPart()).getLength());
    assertEquals(
        1, dom.getElementsByTagNameNS(OGC.NAMESPACE, OGC.Literal.getLocalPart()).getLength());
  }
  public void testPropertyIsLessThanOrEqualToParse() throws Exception {
    FilterMockData.propertyIsLessThanOrEqualTo(document, document);

    PropertyIsLessThanOrEqualTo equalTo = (PropertyIsLessThanOrEqualTo) parse();
    assertNotNull(equalTo);

    assertNotNull(equalTo.getExpression1());
    assertNotNull(equalTo.getExpression2());
  }