public < T > SameType < T > mapToSame ( Function < ? super E , ? extends T > mapExpected , Function < ? super A , ? extends T > mapActual ) { return new SameTypeImp <> ( this , mapExpected , mapActual ) ; }
Maps both sides of the comparison to the same type for easier comparison and assertions .