How do I write Unit Tests for DataObjectDecorators? I have a MemberDecorator which adds a lot of functionality and information to the member object and now i want to test these functions.
But when i try to call a function of the MemberDecorator i get a error "undefined method" on member.
Is there a way to tell the Saphire test that the Member Object is Decorated with another Object?