public char getRightSymbol() {
        return rightSymbol;
    }
@Test
    public void testGetRightSymbol() {
        char expectedRightSymbol = '"';
        EscapeSymbol escapeSymbol = new EscapeSymbol('"', expectedRightSymbol);
        assertEquals(expectedRightSymbol, escapeSymbol.getRightSymbol(),
                "The right symbol should be '" + expectedRightSymbol + "'");
    }