public static void Initialise() { var iocUnityManager = IoC.Container as IocUnityManager; if (iocUnityManager != null) { var passwordCipherFactory = iocUnityManager.Resolver <IPasswordCipherFactory>(); PasswordCipherFactory.SetCurrent(passwordCipherFactory); } }
public static void TestAssemblyInitialize(TestContext context) { PasswordCipherFactory.SetCurrent(new Pbkdf2PasswordCipherFactory()); }