@Test
public void testSetLineJoin() throws Exception {

    PenStroke ps = new PenStroke();
    assertEquals(ps.getLineJoin(), PenStroke.LineJoin.MITRE);
    ps.setLineJoin(null);
    assertEquals(ps.getLineJoin(), PenStroke.LineJoin.MITRE);
    ps.setLineJoin(PenStroke.LineJoin.BEVEL);
    assertEquals(ps.getLineJoin(), PenStroke.LineJoin.BEVEL);
}