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