public void Setup() { _current = EncryptionMechanism.Current; _myEncryptionMechanism = new MyEncryptionMechanism(); EncryptionMechanism.Current = _myEncryptionMechanism; }