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