+ public void removeColorFormatting() {
+ assertThat(messageCleaner.clean("Text\u0003!color", of(color)), is("Text!color"));
+ assertThat(messageCleaner.clean("Text\u0003color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u00034color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u00034!color", of(color)), is("Text!color"));
+ assertThat(messageCleaner.clean("Text\u000314color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u000318color", of(color)), is("Text8color"));
+ assertThat(messageCleaner.clean("Text\u000399color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u00031,!color", of(color)), is("Text!color"));
+ assertThat(messageCleaner.clean("Text\u00031,color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u00031,1!color", of(color)), is("Text!color"));
+ assertThat(messageCleaner.clean("Text\u00031,1color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u00031,14color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u00031,18color", of(color)), is("Text8color"));
+ assertThat(messageCleaner.clean("Text\u00031,99color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u000314,color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u000314,1color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u000314,14color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u000314,18color", of(color)), is("Text8color"));
+ assertThat(messageCleaner.clean("Text\u000314,99color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u000399,99color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u000399,9color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u00039color", of(color)), is("Textcolor"));
+ assertThat(messageCleaner.clean("Text\u00039,color", of(color)), is("Textcolor"));