@Test
public void formattersMustNotBeDollar() {

    Assertions.assertThrows(IllegalArgumentException.class, () -> {
        CodeFormatter formatter = new CodeFormatter();
        formatter.putFormatter('$', CodeFormatterTest::valueOf);
    });
}