I don't know if this helps, but there is a '1 be added to the
classname in the error message:

MbUnit v3.0.0.258/FCHP.AntiCorruption.Tests/MemberServiceTest`1/
MemberServiceTest`1

On Jun 19, 3:22 pm, Mike O <[EMAIL PROTECTED]> wrote:
> Hi,
> I am having a problem implementing a generic test fixture.  When I
> execute the test it fails with an InvalidOperationException telling me
> that it can't resolve member 'Void
> VerifyGetMemberByLastnameAndDobAndReturnValidMember
>
> Any advice would be appreciated. Code below.
> Thanks!
>
>     [TestFixture]
>     [Row(typeof(IDXMemberService))]
>     public class MemberServiceTest<T> where T : IMemberService, new()
>     {
>         private IMemberService _svc;
>
>         [SetUp]
>         public void Init()
>         {
>               _svc = new T();
>         }
>
>         [Test ]
>         [Category("Integration")]
>         [Row("lastname")]
>         [Row("[EMAIL PROTECTED]@@", ExpectedException = typeof(Exception))]
>         public void
> VerifyGetMemberByLastnameAndDobAndReturnValidMember(string lastname)
>         {
>
>             var member = _svc.GetMember(lastname, new DateTime(1968,
> 10, 14));
>
>             Assert.IsNotNull(member);
>             Assert.AreEqual("lastname",  member.Lastname.ToLower());
>         }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" 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/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to