• Only applicable for Controls.

    Checks whether the last segment of the scope matches the expected string.

    Parameters

    • expected: string

      the expected ending of the reference

    Returns Tester