@@ -0,0 +1,906 @@
+package com.hongtu.wf.demo;%0A%0Aimport com.hongtu.wf.demo.model.Customer;%0Aimport com.hongtu.wf.demo.service.CustomerService;%0Aimport org.junit.Assert;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.util.List;%0A%0A%0A/**%0A * Created by hongtu on 16-10-28.%0A * CustomerService Unit Test%0A */%0Apublic class CustomerServiceTest %7B%0A    private final CustomerService customerService;%0A%0A    public CustomerServiceTest() %7B%0A        customerService = new CustomerService();%0A    %7D%0A%0A    @Before%0A    public void init() %7B%0A        //TODO Init Database%0A    %7D%0A%0A    @Test%0A    public void getCustomerListTest() %7B%0A        List%3CCustomer%3E customerList = customerService.getCustomerList(%22%22);%0A        Assert.assertEquals(2, customerList.size());%0A    %7D%0A%0A    @Test%0A    private void getCustomerTest() %7B%0A        long id = 1;%0A        Customer customer = customerService.getCustomer(id);%0A        Assert.assertNotNull(customer);%0A    %7D%0A%0A%7D%0A

add unittest, not finish