### Question:
TokenListEditor { void reprintToTokens() { PrettyPrinterContext<? super SourceT> ctx = reprint(); myValid.set(true); tokens.clear(); tokens.addAll(ctx.tokens()); } TokenListEditor(HybridEditorSpec<SourceT> spec, ObservableList<Token> tokens, boolean updateModel);   TokenListEditor(ReadableProperty<HybridEditorSpec<SourceT>> spec, ObservableList<Token> tokens, boolean updateModel);   }### Answer:
@Test public void disabledAutoReprint() { editor = newTokenListEditor(false); setSimpleExpression(editor); assertTrue(editor.tokens.isEmpty()); assertTrue(editor.valid.get()); editor.reprintToTokens(); assertEquals(simpleTokenList(), editor.tokens); assertTrue(editor.valid.get()); }