@Test
public void testAttributeToLineStringWithBadData() {

  Attribute attribute = new AttributeImpl(FIELD, Arrays.asList("POINT ( yyy )", "POINT ( xxx )"));
  String lineString =
      GeometryUtility.attributeToLineString(
          attribute, GeometryOperator.IDENTITY, new GeometryOperator.Context());
  assertThat(lineString, is((String) null));
}