public void RegisterShouldThrowArgumentException(string email, string password, string profileId)
 {
     var repository = new AccountRepository(Substitute.For<IAccountTrackerService>());
       repository.Invoking(x => x.RegisterUser(email,password, profileId)).ShouldThrow<ArgumentNullException>();
 }
 public void RegisterShouldThrowArgumentException(RegistrationInfo registrationInfo)
 {
     var repository = new AccountRepository();
       repository.Invoking(x => x.RegisterUser(registrationInfo)).ShouldThrow<ArgumentNullException>();
 }