using System; using System.Web.Security; namespace HeuristicLab.Services.Hive.Tests.Mocks { public class MockUserManager : IUserManager { public static Guid MockUserId1 = new Guid("6C7911A1-46EA-4E51-97DF-5582653AAFCE"); public static Guid MockUserId2 = new Guid("897660EB-C90F-4054-988C-D39D530A0A02"); public static Guid MockUserId3 = new Guid("9F7B4EA8-A38D-4BC2-802F-E148AC7A6A87"); private Guid currentUserId = MockUserId1; public Guid CurrentUserId { get { return currentUserId; } } public MembershipUser CurrentUser { get { return null; /* todo */ } } public MembershipUser GetUserByName(string username) { return null; // todo } public MembershipUser GetUserById(Guid userId) { return null; // todo } public void SetUserId(Guid userId) { this.currentUserId = userId; } } }