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