UploadValues() public method

Uploads(POSTs) the values to the server.
public UploadValues ( string address, System values ) : byte[]
address string The adress where the values are uploaded.
values System Name value collection with the upload data.
return byte[]
 public void UploadValuesTest2()
 {
     string serverURL = "http://localhost:8080";
     string username = "******";
     string password = "******";
     XWikiHTTPClient target = new XWikiHTTPClient(serverURL, username, password);
     target.WebClient = new WebClientMock();
     string address = "http://localhost:8080";
     string method = "POST";
     NameValueCollection values = new NameValueCollection();
     byte[] expected = WebClientMock.responseOK;
     byte[] actual;
     actual = target.UploadValues(address, method, values);
     Assert.AreEqual(expected, actual);
 }