public async Task GetDatastoreAsync_ValidParameters_ExpectedResult()
        {
            IUKFastECloudClient client = Substitute.For <IUKFastECloudClient>();

            client.GetAsync <Datastore>("/ecloud/v1/datastores/123").Returns(new Datastore()
            {
                ID = 123
            });

            var ops       = new DatastoreOperations <Datastore>(client);
            var datastore = await ops.GetDatastoreAsync(123);

            Assert.AreEqual(123, datastore.ID);
        }
        public async Task GetDatastoreAsync_InvalidDatastoreID_ThrowsUKFastClientValidationException()
        {
            var ops = new DatastoreOperations <Datastore>(null);

            await Assert.ThrowsExceptionAsync <UKFastClientValidationException>(() => ops.GetDatastoreAsync(0));
        }