public async Task SearchCollectionsTest() { var query = "mountains"; var client = new UnsplasharpClient(Credentials.ApplicationId); var collectionsFound = await client.SearchCollections(query); var collectionsFoundPaged = await client.SearchCollections(query, 2); Assert.IsTrue(collectionsFound.Count > 0); Assert.IsTrue(collectionsFoundPaged.Count > 0); Assert.IsNotNull(client.LastCollectionsSearchQuery); Assert.IsTrue(client.LastCollectionsSearchTotalResults > 0); Assert.IsTrue(client.LastCollectionsSearchTotalPages > 0); }