Mocking PageData

Vote:
 
I wonder if anyone succeeded in: 1) mocking PageData and PagaDataCollection classes using mocking frameworks like Rhino.Mocks 2) serializing PageData and PagaDataCollection classes to XML file Any code samples or ideas how to test EPiServer in isolation from DB are welcome. TIA
#13280
Mar 25, 2008 18:35
Vote:
 
From SDK: System.Object EPiServer.Core.RawPage public class RawPage Remarks This class represents a PageData object in a serializable way. You can use ToRawPage() to create serializable objects from an existing PageData object. Using RawPage you should easily be able to make XML out of PageDataCollection.
#15570
Mar 25, 2008 18:47
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.