public static ParseFromBase64String ( string base64 ) : System.Guid | ||
base64 | string | |
return | System.Guid |
public void ParseFromBase64String_From_Invalid_String_Length_Throws_Exception() { Assert.Throws <ArgumentException>(() => AdvancedGuidParser.ParseFromBase64String(_stubs.InvalidString)); }
public void ParseFromBase64String_From_Valid_String_Wo_Padding_Returns_valid_Guid() { Assert.That(AdvancedGuidParser.ParseFromBase64String(_stubs.Base64StringNoPadding), Is.EqualTo(_stubs.Guid)); }