@Test
public void testSubstringEndIndexEqualsToStartIndex() throws Exception {

    Encoder encoder = new Encoder();
    String result = encoder.substring("ERT", 2, 2);
    Assertions.assertThat(result).isEqualTo("");
}