@@ -0,0 +1,2207 @@
+package com.rizki.mufrizal.belajarSpring;%0A%0Aimport com.rizki.mufrizal.belajarSpring.domain.SistemOperasi;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.beans.factory.annotation.Qualifier;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.TestExecutionListeners;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0Aimport org.springframework.test.context.support.DependencyInjectionTestExecutionListener;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * Created by rizki on 28/07/15.%0A */%0A%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@ContextConfiguration(locations = %22classpath:spring-config-context.xml%22)%0A@TestExecutionListeners(%7B%0A        DependencyInjectionTestExecutionListener.class%0A    %7D%0A)%0Apublic class AppTest %7B%0A%0A    @Qualifier(%22sistemOperasiUbuntu%22)%0A    @Autowired%0A    private SistemOperasi sistemOperasiUbuntu;%0A%0A    @Qualifier(%22sistemOperasiFedora%22)%0A    @Autowired%0A    private SistemOperasi sistemOperasiFedora;%0A%0A    @Qualifier(%22sistemOperasiElementary%22)%0A    @Autowired%0A    private SistemOperasi sistemOperasiElementary;%0A%0A    private static final Logger LOGGER = LoggerFactory.getLogger(AppTest.class);%0A%0A    @Test%0A    public void testSistemOperasiPertama() throws Exception %7B%0A        assertEquals(sistemOperasiUbuntu.getNamaSistemOperasi(), %22Ubuntu%22);%0A        assertEquals(sistemOperasiUbuntu.getVersiSistemOperasi(), %2214.04%22);%0A        LOGGER.debug(%22Test Sistem Operasi Pertama%22);%0A    %7D%0A%0A    @Test%0A    public void testSistemOperasiKedua() throws Exception %7B%0A        assertEquals(sistemOperasiFedora.getNamaSistemOperasi(), %22Fedora%22);%0A        assertEquals(sistemOperasiFedora.getVersiSistemOperasi(), %22fedora 22%22);%0A        LOGGER.debug(%22Test Sistem Operasi Kedua%22);%0A    %7D%0A%0A    @Test%0A    public void testSistemOperasiKetiga() throws Exception %7B%0A        assertEquals(sistemOperasiElementary.getNamaSistemOperasi(), %22Elementary os%22);%0A        assertEquals(sistemOperasiElementary.getVersiSistemOperasi(), %22Freya%22);%0A        LOGGER.debug(%22Test Sistem Operasi Ketiga%22);%0A    %7D%0A%0A%7D%0A

Add testing application