@Test
public void encode() {

  assertThat(encodeClassName(null), nullValue());
  assertThat(encodeClassName("01"), equalTo("-01"));
  assertThat(encodeClassName("my spaced url"), equalTo("my+spaced+url"));
  assertThat(encodeClassName("UnChAnGeD"), equalTo("UnChAnGeD"));
}