⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 baseservicetestcase.java

📁 一个很好的开源项目管理系统源代码
💻 JAVA
字号:
package net.java.workeffort.service;import net.java.workeffort.infrastructure.context.RequestContext;import net.java.workeffort.infrastructure.context.RequestContextHolder;import net.java.workeffort.params.DeliverableParams;import junit.framework.TestCase;/** * @author Antony Joseph */public class BaseServiceTestCase extends TestCase {    protected DeliverableParams params;    protected MockSecurityProfile mockSecurityProfile;    protected void setUp() throws Exception {        // need to set a mock security profile for the service layer to use.        mockSecurityProfile = new MockSecurityProfile();        RequestContext requestContext = new RequestContext(mockSecurityProfile);        RequestContextHolder.setRequestContext(requestContext);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -