static <E extends Enum<E>> int sessionStateChangeLength(final E from, final E to)
    {
        return stateTransitionStringLength(from, to) + SIZE_OF_LONG;
    }
@Test
    void testSessionStateChangeLength()
    {
        final ChronoUnit from = ChronoUnit.ERAS;
        final ChronoUnit to = ChronoUnit.MILLENNIA;
        final String payload = from.name() + STATE_SEPARATOR + to.name();

        assertEquals(payload.length() + SIZE_OF_LONG + SIZE_OF_INT, sessionStateChangeLength(from, to));
    }