Closed GoogleCodeExporter closed 8 years ago
This case is invalid as Create is a property and not a method, also the Returns
should receive a delegate, the right definition of the case would be:
var mock = new Mock<ICreateDestroyFactory<Func<object>>>();
mock.Setup(i => i.Create).Returns(() => new object());
Original comment by marian...@gmail.com
on 25 Jun 2010 at 1:44
Original issue reported on code.google.com by
kayode81...@gmail.com
on 20 Dec 2009 at 2:35