Maybe I am taking your wording to literally, but how do you propose to
"differentiate the constructor" using "string.Empty"?
protected AbstractExample(string.Empty name) { /* Do Stuff */ }
is not valid. If your talking about changing the test to:
[ExpectedException(typeof(ArgumentNullException))]
void Test()
{
AbstractExample example;
string name;
name = string.Empty;
example = MockRepository.GenerateStrictMock<AbstractExample>(name);
}
The string.Empty would never throw an ArgumentNullException, only a
null argument would cause this exception.
On Apr 14, 9:54 am, "Jake" <[email protected]> wrote:
> Why not differentiate the constructor by using string.Empty?
>
>
>
--
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.