given the following class information, please write the testing code for every methods:
package com.dmall.osi.ibms.man.controller.v2;

import com.dmall.osi.ibms.man.controller.base.BaseController;
import com.dmall.osi.ibms.man.domain.result.HttpResult;
import com.dmall.osi.ibms.man.domain.vo.AppSpaceVo;
import com.dmall.osi.ibms.man.domain.vo.PageData;
import com.dmall.osi.ibms.man.service.AppSpaceService;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: application manager interface
 * @author: NAME_1
 * @date: 2023/3/16 10:34
 * @restApi
 * @version: 1.0.0
 */
@RestController
@RequestMapping("/ibmsMan2/appSpace")
@Slf4j
public class AppSpaceController extends BaseController {

    @Autowired
    private AppSpaceService appSpaceService;

    /**
     * query the application list
     * @param req {@link AppSpaceVo}
     * @param currentPage         页数
     * @param pageSize       页大小
     * @return
     */
    @RequestMapping("/list")
    public HttpResult<PageData<List<AppSpaceVo>>> list(AppSpaceVo req, Integer currentPage, Integer pageSize)throws Exception{
        //TODO check param
        if(currentPage == null){
            currentPage = 1;
        }
        if(pageSize == null){
            pageSize = 20;
        }
        PageData<List<AppSpaceVo>> page = appSpaceService.queryList(req