public void ShouldBeValidWhenAllRequiredPropertiesHaveBeenSet(
            string item, string organization, string vault, string environment, string sessionToken)
        {
            var sut = new GetOnePasswordNoteQueryValidator();

            var query = new GetOnePasswordNoteQuery
            {
                Item         = item,
                Organization = organization,
                Vault        = vault,
                Environment  = environment,
                SessionToken = sessionToken
            };
            var result = sut.Validate(query);

            result.IsValid.Should().BeTrue();
            result.Errors.Should().BeNull();
        }
        public void ShouldBeInvalidWhenAnyPropertyIsEmpty(
            string item, string organization, string vault, string environment, string sessionToken)
        {
            var sut = new GetOnePasswordNoteQueryValidator();

            var query = new GetOnePasswordNoteQuery
            {
                Item         = item,
                Organization = organization,
                Vault        = vault,
                Environment  = environment,
                SessionToken = sessionToken
            };
            var result = sut.Validate(query);

            result.IsValid.Should().BeFalse();
            result.Errors.Count.Should().Be(1);
        }