public async Task GetSolutionComputeResourceAsync_ValidParameters_ExpectedResult()
        {
            IUKFastDRaaSClient client = Substitute.For <IUKFastDRaaSClient>();

            client.GetAsync <ComputeResource>("/draas/v1/solutions/00000000-0000-0000-0000-000000000000/compute-resources/11111111-1111-1111-1111-111111111111")
            .Returns(new ComputeResource()
            {
                ID = "11111111-1111-1111-1111-111111111111"
            });

            var ops             = new ComputeResourceOperations <ComputeResource>(client);
            var computeResource = await ops.GetSolutionComputeResourceAsync("00000000-0000-0000-0000-000000000000", "11111111-1111-1111-1111-111111111111");

            Assert.AreEqual("11111111-1111-1111-1111-111111111111", computeResource.ID);
        }
 public async Task GetSolutionComputeResourceAsync_InvalidComputeResourceID_ThrowsUKFastClientValidationException()
 {
     var ops = new ComputeResourceOperations <ComputeResource>(null);
     await Assert.ThrowsExceptionAsync <UKFastClientValidationException>(() =>
                                                                         ops.GetSolutionComputeResourceAsync("00000000-0000-0000-0000-000000000000", ""));
 }