TestBizContext.java 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* ===================================================================
  2. * TestBizContext.java
  3. *
  4. * Created Oct 13, 2004 2:55:15 PM
  5. *
  6. * Copyright (c) 2004 Matt Magoffin (spamsqr@msqr.us)
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  21. * 02111-1307 USA
  22. * ===================================================================
  23. * $Id: TestBizContext.java 74 2009-05-15 04:44:37Z msqr $
  24. * ===================================================================
  25. */
  26. package magoffin.matt.ieat.test;
  27. import magoffin.matt.ieat.domain.User;
  28. import magoffin.matt.ieat.util.BasicBizContext;
  29. import magoffin.matt.xweb.util.AppContextSupport;
  30. /**
  31. * BizContext for test cases.
  32. *
  33. * @author Matt Magoffin (spamsqr@msqr.us)
  34. * @version $Revision: 74 $ $Date: 2009-05-15 16:44:37 +1200 (Fri, 15 May 2009) $
  35. */
  36. public class TestBizContext extends BasicBizContext {
  37. /**
  38. * Constructor.
  39. *
  40. * @param appContextSupport the app context support
  41. * @param actingUser the acting user
  42. */
  43. public TestBizContext(AppContextSupport appContextSupport, User actingUser) {
  44. super(appContextSupport);
  45. setActingUser(actingUser);
  46. }
  47. }