package com.izouma.dingdong.service;

import com.izouma.dingdong.service.backstage.CategoryService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@SpringBootTest
@RunWith(SpringRunner.class)
public class CategoryServiceTest {
    @Autowired
    private CategoryService categoryService;

    @Test
    public void test(){
        System.out.println("---------->"+categoryService.categoryMer(0L).size());
    }
}
