package com.example.wenqixian.myfirstapp;

/**
 * Created by andy on 4/4/16.
 */
public class AdapterTest {
}

@@ -40,71 +40,1433 @@
 p;%0A%0A
-/**%0A * Created by andy on 4/4/16.%0A */%0Apublic class AdapterTest %7B
+%0Aimport com.example.wenqixian.myfirstapp.adapters.MoviesAdapter;%0Aimport com.example.wenqixian.myfirstapp.dummy.DummyMovie;%0Aimport com.example.wenqixian.myfirstapp.singletons.FirebaseSingleton;%0Aimport com.firebase.client.Firebase;%0A%0Aimport org.junit.Test;%0A%0A/**%0A * Movie Adapter Unit Test%0A *%0A * @author Muchen Wu%0A * @version 1.2%0A */%0A%0A%0Apublic class AdapterTest %7B%0A%0A    private static final int TIMEOUT = 200;%0A    private static final int LONG_TIMEOUT = 8000;%0A%0A    private static int successCounter = 0;%0A    // endregion%0A%0A    // region %5B SET UP %5D%0A%0A%0A    // region %5BA%5D EXCEPTIONS%0A    @Test(timeout = TIMEOUT)%0A    public void m01createAdapter() %7B%0A        MoviesAdapter adapter = new MoviesAdapter();%0A    %7D%0A%0A    @Test(timeout = TIMEOUT)%0A    public void m02createAdapterWithList() %7B%0A        MoviesAdapter adapter = new MoviesAdapter(DummyMovie.ITEMS);%0A    %7D%0A%0A    @Test(timeout = TIMEOUT)%0A    public void m03getList() %7B%0A        MoviesAdapter adapter = new MoviesAdapter(DummyMovie.ITEMS);%0A        assert(adapter.mMovies == DummyMovie.ITEMS);%0A    %7D%0A%0A    @Test(timeout = TIMEOUT)%0A    public void m04addItem() %7B%0A        MoviesAdapter adapter = new MoviesAdapter();%0A        adapter.mMovies.addAll(DummyMovie.ITEMS);%0A    %7D%0A%0A    @Test(timeout = TIMEOUT)%0A    public void m05ItemCount() %7B%0A        MoviesAdapter adapter = new MoviesAdapter();%0A        adapter.mMovies.add(DummyMovie.ITEMS.get(0));%0A        assert(adapter.getItemCount() == 1);%0A    %7D
 %0A%7D%0A

Update AdapterTest.java