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
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.