Exemplo n.º 1
0
        public void CreateClient()
        {
            var res = ClientSvc.CreateClient(0, clientName, ClientKeyStatus.Pending);

            _clientVm    = res.Client;
            _clientKeyVm = res.Key;

            Assert.IsTrue(res.IsSuccess);
        }
Exemplo n.º 2
0
        public void ExistingClient()
        {
            var res = ClientSvc.CreateClient(0, clientName, ClientKeyStatus.Pending);

            Assert.AreEqual(res.Message, ResourceManagerMessages.Error.CLIENT_ADD_ALREADY_EXISTS);
        }