Method | Description | |
---|---|---|
CreateMockInstance ( ) : IXWikiClient |
Returns an IXWikiClient mock implementation to be used by unit tests.
|
Method | Description | |
---|---|---|
SetObjForGetObject ( NUnit.Mocks.DynamicMock &xWikiClientMock ) : void |
Sets the "ExpectAndReturn" for "GetObject" method. The returned SSX object has: name='XOfficeStyle', use='onDemand', parse='0' and the 'code' is some CSS for '.xoffice0' class and '#id1" id.
|
|
SetObjSummariesForGetObjects ( NUnit.Mocks.DynamicMock &xWikiClientMock ) : void |
Sets the "ExpectAndReturn" for "GetObjects" method: one 'SomeClass' and one SSX object summaries.
|
public static CreateMockInstance ( ) : IXWikiClient | ||
return | IXWikiClient |