public void ListVolumeSnapshots() { using (var httpTest = new HttpTest()) { Identifier snapshotId = Guid.NewGuid(); httpTest.RespondWithJson(new VolumeSnapshotCollection { new VolumeSnapshot { Id = snapshotId } }); var results = _compute.ListVolumeSnapshots(); httpTest.ShouldHaveCalled("*/os-snapshots"); Assert.Single(results); var result = results.First(); Assert.Equal(snapshotId, result.Id); } }