public void GivenARequestWithOriginalTransferSyntax_WhenValidated_ThenNoExceptionIsThrown()
 {
     RetrieveRequestValidator.ValidateTransferSyntax(requestedTransferSyntax: "*", originalTransferSyntaxRequested: true);
 }
        public void GivenARequestWithIncorrectTransferSyntax_WhenValidated_ThenBadRequestExceptionIsThrown(string transferSyntax)
        {
            var ex = Assert.Throws <BadRequestException>(() => RetrieveRequestValidator.ValidateTransferSyntax(requestedTransferSyntax: transferSyntax));

            Assert.Equal("The specified Transfer Syntax value is not valid.", ex.Message);
        }
 public void GivenARequestWithValidTransferSyntax_WhenValidated_ThenNoExceptionIsThrown()
 {
     RetrieveRequestValidator.ValidateTransferSyntax(DicomTransferSyntax.ExplicitVRLittleEndian.UID.UID);
 }