Mam klasy z zależnością:Jak mogę odgadnąć Func <T,TResult> w Rhino Mocks?
private readonly IWcfClient<ITestConnectionService> _connectionClient;
i chcę skrótową z tej rozmowy:
_connectionClient.RemoteCall(client => client.Execute("test"));
ta obecnie nie działa:
_connectionService
.Stub(c => c.RemoteCall(rc => rc.Execute("test")))
.Return(true);
Czy to możliwe w Rhino?