public void Validate_Good_NoException() { var value = new FidoKeyHandle(Encoding.Default.GetBytes("keyhandle")); value.Validate(); }
public void Validate_BytesEmpty_Throws() { var value = new FidoKeyHandle(new byte[0]); Assert.Throws <InvalidOperationException>(() => value.Validate()); }
public void Validate_BytesEmpty_Throws() { var value = new FidoKeyHandle(new byte[0]); Assert.Throws<InvalidOperationException>(() => value.Validate()); }