public CompetentAuthorityEmailAddressAttributeTests()
 {
     dependencyResolver = A.Fake<IDependencyResolver>();
     A.CallTo(() => dependencyResolver.GetService(typeof(AppConfiguration))).Returns(
         new AppConfiguration()
         {
             Environment = "LIVE"
         });
     DependencyResolver.SetResolver(dependencyResolver);
     viewModel = new TestViewModel();
 }
 public TestViewModel()
 {
     Console.WriteLine("Constructing TestViewModel");
     Instance = this;
 }