assertEquals("After commit trigger change.", 0, pcl.eventCount());
buffer.setValue("now buffering");
assertEquals("After setting the first value.", 1, pcl.eventCount());
buffer.setValue("still buffering");
assertEquals("After setting the second value.", 1, pcl.eventCount());
buffer.getValue();
assertEquals("Reading buffered value.", 1, pcl.eventCount());
wrapped.setValue(buffer.getValue());
assertEquals("Changing wrapped to same as buffer.", 2, pcl.eventCount());