def METHOD_NAME(eph):
    e = eph['earth']
    expected = dedent("""\
        Sum of 2 vectors:
         'de421.bsp' segment 0 SOLAR SYSTEM BARYCENTER -> 3 EARTH BARYCENTER
         'de421.bsp' segment 3 EARTH BARYCENTER -> 399 EARTH
    """)
    assert str(e) == expected
    expected = dedent("""\
        <VectorSum of 2 vectors:
         'de421.bsp' segment 0 SOLAR SYSTEM BARYCENTER -> 3 EARTH BARYCENTER
         'de421.bsp' segment 3 EARTH BARYCENTER -> 399 EARTH>
    """)
    assert repr(e) == expected