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

import com.rizki.mufrizal.aplikasi.inventory.repository.BarangRepository;
import org.junit.Before;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.jdbc.Sql;

import javax.sql.DataSource;

/**
 * Created by labti on 22/03/16.
 */

@Sql(
        executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD,
        scripts = {"/data/barang.sql"}
)
public class BarangRepositoryImplTest {

    @Autowired
    private BarangRepository barangRepository;

    @Autowired
    private DataSource dataSource;

    @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 {

    }
}
@@ -333,54 +333,233 @@
 *%0A *
- Created by labti on 22/03/16.
+%0A * @Author Rizki Mufrizal %3Cmufrizalrizki@gmail.com%3E%0A * @Since Mar 23, 2016%0A * @Time 7:40:00 PM%0A * @Encoding UTF-8%0A * @Project Aplikasi-Inventory%0A * @Package com.rizki.mufrizal.aplikasi.inventory.repository.impl%0A *
 %0A */%0A
-%0A
 @Sql(%0A
-    
     
@@ -614,20 +614,16 @@
 METHOD,%0A
-    
     scri
@@ -1271,8 +1271,9 @@
 %0A    %7D%0A%7D
+%0A

update comment barang repsoitory impl test