You cannot post messages because only members can post, and you are not currently a member.
|
How to use real WCF services instead of mocking them
|
| |
Hi,
I have a application where WCF services constitute datalayer, and
controller calls class in datalayer, which in turn calls WCF service.
All these days I have been mocking the datalayer class to return stub
response, but I today I have let the controller call the datalayer so
that actual service will be called. But this has failed, since the... more »
|
|
Arg<T>.Ref() in combination with Throw() not working as expected
|
| |
Hi, I've had an issue with the following test case, written against Rhino 3.6: Method Code: public class ClassUnderTest{ public string Arg0{get;set;} public string Arg1{get;set;} public IValidator Validator {get;set;} public bool Validate() { string proposal = string.Empty; try... more »
|
|
Compilation on Args.cs
|
| |
Looking at the code for Args.cs it's got a conditional compile, depending on the .Net version - and it looks like it's using the "old" version, from my usage of the code. This is making my testing code (slightly) more complex - is there any reason why it is doing this? Checking the repo - the debug compile has this:... more »
|
|
Source code of version 3.6.1 on NuGet
|
| |
Hi all,
I'm using the NuGet package of RhinoMocks 3.6.1. (its metadata say it
was created by ayende)
but as far I know, Ayende hasn't updated this project since a long
time ([link])
The other repository that could be "official"
([link]) is also inactive... more »
|
|
Trial Rhino Mock for Silverlight 5
|
| |
Hi, I would like to ask on the trial rhino mock for silverlight 5. Can you provide me the trial installer? Hope to hear from you soon! Thanks. :)
|
|
"Cannot set parent to an interface" calling GeneratePartialMock()
|
| |
Calling GeneratePartialMock() on a complex generic type is giving me the error "Cannot set parent to an interface". According to what I read in several places, the error originates at the DynamicProxy library and it was due to a bug that has already been corrected. Any clue when a new Rhino Mocks build incorporating the latest Castle... more »
|
|
Mocking Ninject IKernel
|
| |
Hi This is the block of code that I have written to test some method. But it throws an exception on line 3 that "Value can not be null ". IDataRepository repository = MockRepository.GenerateStub<ID ataRepository>();IKernel kernel = MockRepository.GenerateStub<IK ernel>(); kernel.Expect(k => k.Get<IDataRepository>()).Retu rn(repository);... more »
|
|
|