@Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("pathState", pathStates)
                .add("activePathIndex", activePathIndex)
                .add("description", description)
                .toString();
    }
@Test
    public void testToString() {
        ProtectedTransportEndpointState state1 =
                ProtectedTransportEndpointState
                        .builder()
                        .withActivePathIndex(0)
                        .withDescription(protectedDescription)
                        .withPathStates(pathStates)
                        .build();
        ProtectedTransportEndpointState state2 =
                ProtectedTransportEndpointState
                        .builder()
                        .copyFrom(state1)
                        .build();
        assertThat(state1.toString(), is(state2.toString()));
    }