public void RetrievePasskey_ShouldReturnSecuredString_GivenTextValue() { this.subject.SetPasskey(CreateSecureString("Foo")); var result = this.subject.RetrievePasskey(); Assert.IsInstanceOfType(result, typeof(SecureString)); }