package com.rizki.mufrizal.aplikasi.inventory.repository.impl;

import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by labti on 22/03/16.
 */
public class BarangRepositoryImplTest {

    @Before
    public void setUp() throws Exception {

    }

    @Test
    public void simpanBarang() throws Exception {

    }

    @Test
    public void editBarang() throws Exception {

    }

    @Test
    public void hapusBarang() throws Exception {

    }

    @Test
    public void jumlahBarang() throws Exception {

    }

    @Test
    public void ambilBarangs() throws Exception {

    }

    @Test
    public void getBarang() throws Exception {

    }
}
@@ -57,16 +57,90 @@
 .impl;%0A%0A
+import com.rizki.mufrizal.aplikasi.inventory.repository.BarangRepository;%0A
 import o
@@ -183,124 +183,458 @@
 st;%0A
-%0A
 import 
-static org.junit.Assert.*;%0A%0A/**%0A * Created by labti on 22/03/16.%0A */%0Apublic class BarangRepositoryImplTest %7B
+org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.context.jdbc.Sql;%0A%0Aimport javax.sql.DataSource;%0A%0A/**%0A * Created by labti on 22/03/16.%0A */%0A%0A@Sql(%0A        executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD,%0A        scripts = %7B%22/data/barang.sql%22%7D%0A)%0Apublic class BarangRepositoryImplTest %7B%0A%0A    @Autowired%0A    private BarangRepository barangRepository;%0A%0A    @Autowired%0A    private DataSource dataSource;
 %0A%0A  

update barang repository impl