@Test
public void eol() {

    Assert.assertEquals(PropertyValue.valid("cr", EndOfLineValue.cr), PropertyType.end_of_line.parse("cr"));
    Assert.assertEquals(PropertyValue.valid("CR", EndOfLineValue.cr), PropertyType.end_of_line.parse("CR"));
    Assert.assertEquals(PropertyValue.valid("Cr", EndOfLineValue.cr), PropertyType.end_of_line.parse("Cr"));
    Assert.assertEquals(PropertyValue.valid("CrLf", EndOfLineValue.crlf), PropertyType.end_of_line.parse("CrLf"));
    Assert.assertEquals(PropertyValue.valid("lf", EndOfLineValue.lf), PropertyType.end_of_line.parse("lf"));
    Assert.assertFalse(PropertyType.end_of_line.parse("").isValid());
    Assert.assertFalse(PropertyType.end_of_line.parse("foo").isValid());
    Assert.assertFalse(PropertyType.end_of_line.parse(null).isValid());
}