@@ -0,0 +1,811 @@
+package com.iitp.njack.iitp_connect.core.calendar.detail;%0A%0Aimport com.iitp.njack.iitp_connect.data.contest.ContestDao;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.InjectMocks;%0Aimport org.mockito.Mock;%0Aimport org.mockito.Mockito;%0Aimport org.mockito.junit.MockitoJUnitRunner;%0A%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class ContestDetailRepositoryTest %7B%0A%0A    private static final long MOCK_CONTEST_ID = 222L;%0A%0A    @InjectMocks%0A    private ContestDetailRepository contestDetailRepository;%0A%0A    @Mock%0A    private ContestDao contestDao;%0A%0A    @Test%0A    public void shouldReturnContestLiveDataById() %7B%0A        // when%0A        contestDetailRepository.getContest(MOCK_CONTEST_ID);%0A%0A        // then%0A        Mockito.verify(contestDao).getContestById(Mockito.eq(MOCK_CONTEST_ID));%0A    %7D%0A%0A%7D%0A

Add Unit tests for ContestDetailRepository (#177)