You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
459 B

10 years ago
  1. using System;
  2. using System.Security.Principal;
  3. namespace Sevomin.Tests.Controllers
  4. {
  5. public class FakeIdentity : IIdentity
  6. {
  7. public string AuthenticationType
  8. {
  9. get { throw new NotImplementedException(); }
  10. }
  11. public bool IsAuthenticated
  12. {
  13. get { return true; }
  14. }
  15. public string Name
  16. {
  17. get { return "test"; }
  18. }
  19. }
  20. }