No, it's not a requirement, I imagine your properties file is using
the wrong case for the properties - or something like that.  Are you
setters public?

Matt

On 3/8/07, Philip Barlow <[EMAIL PROTECTED]> wrote:
I have not implemented toString() on the object i am testing, i take it
this is a requirement for BeanUtils.copyProperties()? If so should it be
implemented using ToStringBuilder as in Appfuse 2.x?

Matt Raible wrote:
> If you execute toString() on your object, is it really populated?  If
> you have a setup method, is it calling super.setup()?
>
> Matt
>
> On 3/7/07, Philip Barlow <[EMAIL PROTECTED]> wrote:
>> Hi guys,
>>
>> Are there any known issues with populating your model objects using the
>> populate method in BaseDaoTestCase class. I have set up a .properties
>> file with the same name as my test case and entered values for each
>> property of the model object, yet when BeanUtils.copyProperties is
>> called the model object properties are all null. I am using Spring MVC
>> basic if that matters. Haven't had a chance to debug into BeanUtils but
>> i have verified that the Map is being populated with values from the
>> .properties file.
>>
>> Any ideas, pointers?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to