@Test public void testIsDrawVerticals() throws Exception { ShapeAttributes attributes = new ShapeAttributes(); // Assert the getter is returning the changed member attributes.drawVerticals = true; assertTrue(attributes.isDrawVerticals()); attributes.drawVerticals = false; assertFalse(attributes.isDrawVerticals()); }