private void ExplicitNotUse4Dp <T, TResult, TRequest, TResponse>(FourDecimalPlacesEndpoint <T, TResult, TRequest, TResponse> endpoint, string expected = "") where T : XeroReadEndpoint <T, TResult, TResponse> where TResponse : IXeroResponse <TResult>, new() where TRequest : IXeroRequest <TResult>, new() { Assert.AreEqual(expected, endpoint.UseFourDecimalPlaces(false).QueryString); }
private void ExplictUse4Dp <T, TResult, TRequest, TResponse>(FourDecimalPlacesEndpoint <T, TResult, TRequest, TResponse> endpoint, string expected = "unitdp=4") where T : IXeroUpdateEndpoint <T, TResult, TRequest, TResponse> where TResponse : IXeroResponse <TResult>, new() where TRequest : IXeroRequest <TResult>, new() { Assert.AreEqual(expected, endpoint.UseFourDecimalPlaces(true).QueryString); }