We've had a suggestion in the office that this is happening because it
is not sufficient to create a mock Controller with the syntax
mockController = mocks.StrictMock(Of IClientSearchController): because
IClientSearchController is defined as
Public Class ClientSearchController
Inherits ATO.RM.Sample.Controller.CommonController(Of
ClientSearchKeyDocument, InteractionDocumentBase,
ClientSearchSummaryDocument)
and CommonController is
Public Class CommonController(Of TKey As InteractionDocumentBase,
TEntity As InteractionDocumentBase, TSummary As
InteractionDocumentBase)
then this means that I somehow have to feed in the three extra types
when I create the mockController
(ClientSearchKeyDocument,InteractionDocumentBase &
ClientSearchSummaryDocument)
Something like mocks.StrictMock(Of
IClientSearchController<<ClientSearchKeyDocument>,<InteractionDocumentBase>,<ClientSearchSummaryDocument>>)
No-one here knows what the syntax for doing this would look like,
though - does any reader have comments or pointers?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Rhino.Mocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/RhinoMocks?hl=en
-~----------~----~----~----~------~----~------~--~---