Search in sources :

Example 1 with UcsActivityCoordinator

use of com.cjsoftware.ucstestapp.ucsactivity.impl.UcsActivityCoordinator in project ucsFramework by cjsoftware-lib.

the class TestUcsTestAppCoordinator method setup.

@Before
public void setup() {
    mMockUi = mock(Ui.class);
    mMockScreenNavigation = mock(ScreenNavigation.class);
    mMockStatemanager = mock(StateManager.class);
    mCoordinator = new UcsActivityCoordinator();
    ((CoordinatorBinder) mCoordinator).bindUi(mMockUi);
    ((CoordinatorBinder) mCoordinator).bindScreenNavigation(mMockScreenNavigation);
    ((CoordinatorBinder) mCoordinator).bindStateManager(mMockStatemanager);
}
Also used : Ui(com.cjsoftware.ucstestapp.ucsactivity.UcsActivityContract.Ui) StateManager(com.cjsoftware.ucstestapp.ucsactivity.UcsActivityContract.StateManager) UcsActivityCoordinator(com.cjsoftware.ucstestapp.ucsactivity.impl.UcsActivityCoordinator) ScreenNavigation(com.cjsoftware.ucstestapp.ucsactivity.UcsActivityContract.ScreenNavigation) CoordinatorBinder(com.cjsoftware.library.ucs.CoordinatorBinder) Before(org.junit.Before)

Aggregations

CoordinatorBinder (com.cjsoftware.library.ucs.CoordinatorBinder)1 ScreenNavigation (com.cjsoftware.ucstestapp.ucsactivity.UcsActivityContract.ScreenNavigation)1 StateManager (com.cjsoftware.ucstestapp.ucsactivity.UcsActivityContract.StateManager)1 Ui (com.cjsoftware.ucstestapp.ucsactivity.UcsActivityContract.Ui)1 UcsActivityCoordinator (com.cjsoftware.ucstestapp.ucsactivity.impl.UcsActivityCoordinator)1 Before (org.junit.Before)1