StoredBoolean { public StoredBoolean(Path path) { this.path = new UnixPath(path); } StoredBoolean(Path path); boolean value(); void set(TaskContext context); void set(TaskContext context, boolean value); void clear(TaskContext context);  }
@Test public void storedBoolean() { assertFalse(storedBoolean.value()); storedBoolean.set(context); assertTrue(storedBoolean.value()); storedBoolean.clear(context); assertFalse(storedBoolean.value()); }