Beispiel #1
0
 public void ByteToString_Null_Exception()
 {
     Assert.Throws <NullReferenceException>(() => UtilityHelper.ByteToString(null));
 }
Beispiel #2
0
 public void ByteToString_Test()
 {
     byte[] byteContent = Encoding.UTF8.GetBytes(TestResources.CdkCustomer.Token.ToString());
     Assert.IsInstanceOf(typeof(string), UtilityHelper.ByteToString(byteContent));
 }