public void EncodeDataRequestCreateTest() { //Arrange const string resource = "resource"; //Act var request = _helper.EncodeDataRequestCreate(resource); //Assert Assert.AreEqual(Method.GET, request.Method); Assert.AreEqual(resource, request.Resource); Assert.IsTrue(request.Parameters.Any(p => p.Type == ParameterType.Cookie && p.Name == _settings.CookieName && (string)p.Value == _settings.CookieValue)); }