@@ -0,0 +1,1529 @@
+package de.nenick.espressomacchiato.matchers;%0A%0Aimport android.support.test.InstrumentationRegistry;%0Aimport android.view.View;%0Aimport android.widget.TextView;%0A%0Aimport org.hamcrest.Matcher;%0Aimport org.junit.Test;%0A%0Aimport de.nenick.espressomacchiato.elements.EspTextView;%0Aimport de.nenick.espressomacchiato.test.views.BaseActivity;%0Aimport de.nenick.espressomacchiato.testbase.EspressoTestCase;%0A%0Aimport static org.junit.Assert.assertFalse;%0A%0Apublic class TextViewMatcherTest extends EspressoTestCase%3CBaseActivity%3E %7B%0A%0A    public static final String BLACK = %22Black%22;%0A    public static final String WHITE = %22White%22;%0A%0A    @Test%0A    public void testForCoverage() %7B%0A        new TextViewMatcher();%0A    %7D%0A%0A    @Test%0A    public void testOnlyMatchTextView() %7B%0A        Matcher%3CView%3E colorMatcher = TextViewMatcher.withTextColor(0xff000000);%0A        View nonTextView = new View(InstrumentationRegistry.getContext());%0A        assertFalse(colorMatcher.matches(nonTextView));%0A    %7D%0A%0A    @Test%0A    public void testMatchColor() %7B%0A        TextView textView = new TextView(activityTestRule.getActivity());%0A        textView.setText(BLACK);%0A        textView.setTextColor(0xff000000);%0A        addViewToLayout(textView, BaseActivity.rootLayout);%0A%0A        TextView textView2 = new TextView(activityTestRule.getActivity());%0A        textView2.setText(WHITE);%0A        textView2.setTextColor(0xffffffff);%0A        addViewToLayout(textView2, BaseActivity.rootLayout);%0A%0A        new EspTextView(TextViewMatcher.withTextColor(0xffffffff)).assertTextIs(WHITE);%0A    %7D%0A%7D

add tests for color matcher