@@ -0,0 +1,1128 @@
+package se.snylt.zipper.viewbinder;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.mockito.Mock;%0Aimport org.mockito.MockitoAnnotations;%0A%0Aimport java.util.Arrays;%0A%0Aimport se.snylt.zipper.viewbinder.viewfinder.ViewFinder;%0A%0Aimport static org.mockito.ArgumentMatchers.same;%0Aimport static org.mockito.Mockito.verify;%0A%0Apublic class BinderTest %7B%0A%0A    @Mock%0A    ViewBinder viewBinderOne;%0A%0A    @Mock%0A    ViewBinder viewBinderTwo;%0A%0A    Object viewHolder = new Object();%0A%0A    Object target = new Object();%0A%0A    Object mod = new Object();%0A%0A    @Mock%0A    ViewFinder viewFinder;%0A%0A    private Binder binder;%0A%0A    @Before%0A    public void setup()%7B%0A        MockitoAnnotations.initMocks(this);%0A        binder = new Binder(Arrays.asList(viewBinderOne, viewBinderTwo));%0A    %7D%0A%0A    @Test%0A    public void bind_Should_CallBindOnEachViewBinder()%7B%0A        // When%0A        binder.bind(viewHolder, viewFinder, target, mod);%0A%0A        // Then%0A        verify(viewBinderOne).bind(same(viewHolder), same(viewFinder), same(target), same(mod));%0A        verify(viewBinderTwo).bind(same(viewHolder), same(viewFinder), same(target), same(mod));%0A    %7D%0A%0A%7D

Test Binder.