diff --git a/UnitTests/Regressions/IssueReportsFixture.cs b/UnitTests/Regressions/IssueReportsFixture.cs index e79e1a69b..993f38ff0 100644 --- a/UnitTests/Regressions/IssueReportsFixture.cs +++ b/UnitTests/Regressions/IssueReportsFixture.cs @@ -1599,6 +1599,38 @@ public class Foo : IFoo { } #endregion + #region 469 + + public class Issue469 + { + [Fact(Skip = + "Temporarily disabled due to a regression in Castle Core, see https://github.com/castleproject/Core/issues/309.")] + public void Mock_Object_should_be_able_to_mock_interface_with_overloaded_generic_methods_with_generic_parameters() + { + object dummy = new Mock().Object; + } + + public interface IHaveOverloadedGenericMethod + { + void GenericMethod(GenericClass1 a); + void GenericMethod(GenericClass2 a); + } + + public abstract class BaseType + { + } + + public class GenericClass1 : BaseType + { + } + + public class GenericClass2 : BaseType + { + } + } + + #endregion + // Old @ Google Code #region #47