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
Nov 27, 2007 11:19
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
Nov 29, 2007 9:26
* 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.