public void ParseSignature_returns_parts() { var(tx, app) = Duo.ParseSignature("tx:app"); Assert.Equal("tx", tx); Assert.Equal("app", app); }
public void ParseSignature_throws_on_invalid_signature(string invalid) { Exceptions.AssertThrowsInternalError(() => Duo.ParseSignature(invalid), "signature is invalid"); }