public void InvalidClientKeyCreate()
        {
            var res = ClientSvc.CreateKey(0, ClientKeyStatus.Open);

            if (res.IsSuccess)
            {
                ClientSvc.DeleteClientKey(res.key.Id);
            }

            Assert.AreEqual(res.Message, ResourceManagerMessages.Error.CLIENT_NOT_FOUND);
        }
        public void CreateKey()
        {
            if (_clientVm == null)
            {
                Assert.Fail("FindById: Test Failed to create a new client.");
            }

            var res = ClientSvc.CreateKey(_clientVm.Id, ClientKeyStatus.Open);

            if (res.IsSuccess)
            {
                ClientSvc.DeleteClientKey(res.key.Id);
            }

            Assert.IsTrue(res.IsSuccess);
        }