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.

27 lines
538 B

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