public void AddTest()
        {
            PhoneBookContext _phonecontext    = new PhoneBookContext();
            ProducerConfig   _config          = new ProducerConfig();
            ValuesController valuesController = new ValuesController(_config, _phonecontext);

            var model = new ConnectionInfoAddDTO();

            model.PersonID = 1;


            var info = valuesController.Add(model);

            Assert.IsNotNull(info);
        }
        public void Add()
        {
            // Organizar
            ValuesController controller = new ValuesController();
            string           value      = "Test";

            // Agir
            ServiceHttpResult result = controller.Add(value);

            // Declarar
            Assert.IsNotNull(result);
            Assert.AreEqual(result.ServiceResponse.StatusCode, HttpStatusCode.OK);
            Assert.IsNotNull(result.ServiceResponse.Data);
            Assert.AreEqual(value, ((Values)result.ServiceResponse.Data).Value);
        }