public void TheConnector_ShouldHavePassword() { var manager = new FakeCredentialManager(); var config = new ProgramConfig(() => 0, () => "foo"); var connector = new Unit4WebConnector(manager, config).Create(); var authenticator = connector.Authenticator as AgressoAuthenticator; Assert.That( SecureStringHelper.ToString(authenticator.Password), Is.EqualTo(SecureStringHelper.ToString(manager.Credentials.Password))); }