public void ResourceCollection_Verify_ToStringWithQuery()
 {
     var request = new SDataResourceCollectionRequest(_service)
                   {
                       ResourceKind = "employees",
                       QueryValues = {{"where", "gender eq m"}}
                   };
     var url = request.ToString();
     Expect(url, Is.EqualTo("http://localhost:59213/sdata/aw/dynamic/-/employees?where=gender eq m"));
 }
 public void ResourceCollection_Verify_ToStringWithPaging()
 {
     var request = new SDataResourceCollectionRequest(_service)
                   {
                       ResourceKind = "employees",
                       StartIndex = 1,
                       Count = 100
                   };
     var url = request.ToString();
     Expect(url, Is.EqualTo("http://localhost:59213/sdata/aw/dynamic/-/employees?startIndex=1&count=100"));
 }