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