MethodTypeTest: use assertEquals instead of assertSame

The interning of MethodType instances in ART is not
comprehensive. Update MethodTypeTest use assertEquals rather than
assertSame to work around this.

Bug: 211391683
Fix: 231283845
Test: art/tools/run-libcore-tests.sh --mode=host \
          test.java.lang.invoke.MethodTypeTest
Change-Id: Ib06ada068eb89ed9c092eb8426b5afcc3283aa4b
1 file changed