Added method comments.
postData() will now throw an IllegalArgumentException if either field is null.
Added more comments.
Added another test to see if an IllegalArgumentException should be thrown or not in postData()