|
From: Vaughn, C. <Va...@va...> - 2003-07-21 16:42:41
|
Hello all,
Any reason why this test doesn't pass? I think it should.
public interface IFoo
{
string Name { get; set; }
}
public void TestInit()
{
DynamicMock foo = new DynamicMock( typeof( IFoo ) );
IFoo ifoo = ((IFoo)foo.MockInstance);
foo.SetupResult( "Name", "bob" );
foo.Expect( "Name", "bill" );
System.Diagnostics.Debug.Write( ifoo.Name );
ifoo.Name = "bill";
foo.Verify();
}
cliff
This message may have included proprietary or protected information. This
message and the information contained herein are not to be further
communicated without my express written consent.
|