org.appfuse.service.impl
Class BaseManagerMockTestCase

java.lang.Object
  extended by org.appfuse.service.impl.BaseManagerMockTestCase

public abstract class BaseManagerMockTestCase
extends java.lang.Object


Field Summary
protected  org.jmock.Mockery context
           
protected  org.apache.commons.logging.Log log
           
protected  java.util.ResourceBundle rb
           
 
Constructor Summary
BaseManagerMockTestCase()
           
 
Method Summary
protected  java.lang.Object populate(java.lang.Object obj)
          Utility method to populate a javabean-style object with values from a Properties file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log

rb

protected java.util.ResourceBundle rb

context

protected org.jmock.Mockery context
Constructor Detail

BaseManagerMockTestCase

public BaseManagerMockTestCase()
Method Detail

populate

protected java.lang.Object populate(java.lang.Object obj)
                             throws java.lang.Exception
Utility method to populate a javabean-style object with values from a Properties file

Parameters:
obj - the model object to populate
Returns:
Object populated object
Throws:
java.lang.Exception - if BeanUtils fails to copy properly


Copyright © 2003-2008. All Rights Reserved.