@@ -0,0 +1,2480 @@
+package net.cattaka.android.adaptertoolbox.example;%0A%0Aimport android.support.test.rule.ActivityTestRule;%0A%0Aimport net.cattaka.android.adaptertoolbox.example.test.RecyclerViewAnimatingIdlingResource;%0Aimport net.cattaka.android.adaptertoolbox.example.utils.FlashColorItemAnimator.FlashColor;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0A%0Aimport static android.support.test.espresso.Espresso.onView;%0Aimport static android.support.test.espresso.action.ViewActions.click;%0Aimport static android.support.test.espresso.action.ViewActions.swipeDown;%0Aimport static android.support.test.espresso.action.ViewActions.swipeUp;%0Aimport static android.support.test.espresso.assertion.ViewAssertions.matches;%0Aimport static android.support.test.espresso.matcher.ViewMatchers.withId;%0Aimport static android.support.test.espresso.matcher.ViewMatchers.withText;%0Aimport static net.cattaka.android.adaptertoolbox.example.test.TestUtils.waitForIdlingResource;%0Aimport static net.cattaka.android.adaptertoolbox.example.test.TestUtils.withIdInRecyclerView;%0A%0A/**%0A * Created by cattaka on 17/01/02.%0A */%0Apublic class StringWithPayloadExampleActivityTest %7B%0A    @Rule%0A    public ActivityTestRule%3CStringWithPayloadExampleActivity%3E mActivityTestRule = new ActivityTestRule%3C%3E(StringWithPayloadExampleActivity.class, false, false);%0A%0A    RecyclerViewAnimatingIdlingResource mRecyclerViewAnimatingIdlingResource;%0A    StringWithPayloadExampleActivity mActivity;%0A%0A    @Before%0A    public void before() %7B%0A        mActivity = mActivityTestRule.launchActivity(null);%0A        mRecyclerViewAnimatingIdlingResource = new RecyclerViewAnimatingIdlingResource(mActivity.mRecyclerView);%0A    %7D%0A%0A    @Test%0A    public void testRun() %7B%0A        onView(withId(R.id.recycler)).perform(swipeUp());%0A        waitForIdlingResource(mRecyclerViewAnimatingIdlingResource, 5000);%0A        onView(withId(R.id.recycler)).perform(swipeDown());%0A        waitForIdlingResource(mRecyclerViewAnimatingIdlingResource, 5000);%0A    %7D%0A%0A    @Test%0A    public void checkPayloadValue() %7B%0A        onView(withIdInRecyclerView(R.id.button_red, R.id.recycler, 0)).perform(click());%0A        onView(withIdInRecyclerView(R.id.text_payload, R.id.recycler, 0)).check(matches(withText(String.valueOf(FlashColor.RED))));%0A        onView(withIdInRecyclerView(R.id.button_blue, R.id.recycler, 1)).perform(click());%0A        onView(withIdInRecyclerView(R.id.text_payload, R.id.recycler, 1)).check(matches(withText(String.valueOf(FlashColor.BLUE))));%0A    %7D%0A%7D

Add tests about payloads