using System;
using System.Collections.Generic;
using System.Text;
using Xunit;

namespace Rhino.Mocks.Tests.FieldsProblem
{
	
	public class FieldProblem_Maurice
	{
		[Fact]
		public void TwoGenericParametersWithConstraints()
		{
			MockRepository mocks = new MockRepository();
			IDemo2 demo = mocks.StrictMock<IDemo2>();
			Assert.NotNull(demo);
		}
	}

	public interface IDemo2
	{
		T CreateRequest<T, R>()
			where T : Request<R>
			where R : Response;
	}

	public class Request<T> where T : Response
	{
	}

	public class Response
	{
	}
}
