public void GetHlsKeyDeliveryUrlAndFetchKeyWithSWTAuthenticationWhenIssuerIsStringGuidShouldThrow()
{
string audience = "http://www.microsoft.com";
string issuer = Guid.NewGuid().ToString();
try
{
FetchKeyWithSWTToken(audience, issuer);
}
catch (InvalidDataContractException ex)
{
Assert.IsTrue(ex.Message == "SWT token type template validation error. template.Issuer is not valid absolute Uri.");
throw;
}
}