@@ -0,0 +1,1414 @@
+package com.naijab.nextzytimeline;%0A%0Aimport android.content.Context;%0Aimport android.support.test.InstrumentationRegistry;%0Aimport android.support.test.runner.AndroidJUnit4;%0A%0Aimport com.naijab.nextzytimeline.ui.people.addform.fragment.AddPeopleFragmentInterface;%0Aimport com.naijab.nextzytimeline.ui.people.addform.fragment.AddPeopleFragmentPresenter;%0Aimport com.naijab.nextzytimeline.ui.people.model.PeopleModel;%0A%0Aimport junit.framework.Assert;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0A%0A/**%0A * Created by Xiltron on 28/5/2560.%0A */%0A@RunWith(AndroidJUnit4.class)%0Apublic class AddPeopleTest %7B%0A%0A    AddPeopleFragmentInterface.View mockView;%0A    AddPeopleFragmentPresenter presenter;%0A    Context context;%0A%0A    @Before%0A    public void setup() %7B%0A        context = InstrumentationRegistry.getContext();%0A        presenter = new AddPeopleFragmentPresenter();%0A        presenter.attachView(mockView);%0A    %7D%0A%0A    @Test%0A    public void testAddPeople() %7B%0A        PeopleModel people = new PeopleModel();%0A        people.setName(%22Hello%22);%0A        people.setJob(%22Job%22);%0A        people.setBirthDay(%2216-1-2555%22);%0A        people.setJobStart(%2216-1-2555%22);%0A        people.setJobDescription(%22Job Des%22);%0A        people.setGame(%22Game%22);%0A        people.setSmartPhone(%22iPhone%22);%0A        people.setProfile(%22file://...%22);%0A        people.setPhoto(%22file://...%22);%0A        Assert.assertNotNull(people);%0A    %7D%0A%7D%0A

Add AddPeople Test