package sg.ncl.adapter.deterlab;

import org.junit.Before;
import org.junit.Test;
import org.springframework.web.client.RestTemplate;
import static org.assertj.core.api.Assertions.assertThat;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.internal.verification.VerificationModeFactory.times;

/**
 * Created by Tran Ly Vu on 10/3/2016.
 */
public class DeterLabAutoConfigurationTest {

    private DeterLabAutoConfiguration deterLabAutoConfiguration;

    @Before
    public void setup(){
        deterLabAutoConfiguration= new DeterLabAutoConfiguration();
    }

    @Test
    public void restTemplateTest(){
        RestTemplate rest=deterLabAutoConfiguration.restTemplate();
        assertThat(rest).isNotNull();

    }
}

Update unit testing for class DeterLabAutoConfiguration in adapter-deterlab(SIO)