### Question:
EmojiTextViewHelper { @Nullable public TransformationMethod wrapTransformationMethod( @Nullable TransformationMethod transformationMethod) { return mHelper.wrapTransformationMethod(transformationMethod); } EmojiTextViewHelper(@NonNull TextView textView); void updateTransformationMethod(); @NonNull InputFilter[] getFilters(@NonNull final InputFilter[] filters); @Nullable TransformationMethod wrapTransformationMethod(
            @Nullable TransformationMethod transformationMethod); void setAllCaps(boolean allCaps);  }### Answer:
@Test public void testWrapTransformationMethod() { assertThat(mTextViewHelper.wrapTransformationMethod(null), instanceOf(EmojiTransformationMethod.class)); }
@Test public void testWrapTransformationMethod_doesNotCreateNewInstance() { final TransformationMethod tm1 = mTextViewHelper.wrapTransformationMethod(null); final TransformationMethod tm2 = mTextViewHelper.wrapTransformationMethod(tm1); assertSame(tm1, tm2); }