AutoMoq: DynamicProxy2 error for IList return values.

Executing this test: [TestClass] public class Tests { public interface IDataService { IList<int> GetData (); } public class TestedService { private readonly IDataService dataService; ...

Id #4262 | Release: None | Updated: Aug 18, 2014 at 8:06 AM by FuriCuri | Created: Aug 8, 2014 at 12:09 PM by FuriCuri

AutoMoq customization should not intercept mocked object method return values

Here is a test case that should pass for both but fails on AutoMoq: [TestClass] public class Tests { public class TestObject { public int Id { get; set; } } public interface IService { Te...

Id #4261 | Release: None | Updated: Feb 21, 2014 at 7:23 AM by FuriCuri | Created: Feb 19, 2014 at 12:53 PM by FuriCuri

Moq 4.0 Is Needed(AutoFixture Won't work with EF 6)

Hi I been playing around for hours now trying to figure out why the new way of mocking is not working in Entity Framework 6 RC-1 I started off by installing the autofixture for moq from nuget a...

Id #4260 | Release: None | Updated: Oct 13, 2013 at 11:11 AM by baxevanis | Created: Oct 12, 2013 at 7:59 AM by chobo2

Is this a bug?

[Test] public void ThisTestPasses() { var fixture = new Fixture(); var expectedProfileID = fixture.Create<int>(); var p1 = fixture.Build<Profile>().With(p => p.ID, expectedProfileID).Create(); As...

Id #4259 | Release: None | Updated: Oct 8, 2013 at 1:24 AM by bartelink | Created: Oct 6, 2013 at 6:42 PM by ryansimmen

Less scary-sounding API

Consider renaming scary-sounding method names like "CreateAnonymous" to simply "Create".

Id #4253 | Release: None | Updated: Jun 24, 2012 at 1:06 PM by baxevanis | Created: Mar 18, 2012 at 8:00 PM by ploeh

AutoMocking interfaces with events throws DynamicProxy2 exception (UPDATED)

(UPDATED unit test attached -- still fails after incorporating fix suggested by baxevanis with Moq v4.0.10827) When I use AutoFixture (v2.9.2, with AutoMoqCustomization -- with Moq v 4.0.10827 and...

Id #4252 | Release: None | Updated: Mar 28, 2013 at 1:53 PM by calinoiu | Created: Mar 12, 2012 at 4:07 PM by jrnail23

Auto-mocking extensions should auto-fill properties

See the discussion in the comments here http://blog.ploeh.dk/2010/08/19/AutoFixtureAsAnAutomockingContainer.aspx

Id #4245 | Release: None | Updated: Mar 16, 2015 at 9:54 PM by musselwhitet | Created: Sep 8, 2011 at 3:32 PM by ploeh

Idiomatic test that verifies that a property is stable

A property getter should return the same item every time it's invoked (as determined by the object's Equals method). An IIdiomaticAssertion implementation should encapsulate this rule.

Id #4243 | Release: None | Updated: Sep 2, 2011 at 1:12 PM by ploeh | Created: Sep 2, 2011 at 1:12 PM by ploeh

xUnit.net versioning

I noticed some strange behavior when getting AutoFixture with xUnit data theories from NuGet. AutoFixture references 'xunit.extensions, Version=1.6.1.1521, Culture=neutral, PublicKeyToken=8d05b1b...

Id #4241 | Release: None | Updated: Jul 4, 2013 at 2:41 PM by escape | Created: Sep 1, 2011 at 7:03 PM by baxevanis

Refreeze

See http://autofixture.codeplex.com/discussions/262288

Id #4236 | Release: None | Updated: Sep 12, 2011 at 3:29 PM by ploeh | Created: Jun 22, 2011 at 7:07 PM by ploeh