public void TestActionListAll()
        {
            var uobj = new UnitTestForApiController();
            var testobj = uobj.GetsecuritiesMfsList();

            var responseMessage = new HttpResponseMessage
            {
                Content = new FakeHttpContent(testobj)
            };
            var messageHandler = new FakeHttpMessageHandler(responseMessage);
            HttpServer server = new HttpServer(messageHandler);
            using (var client = new HttpClient(new InMemoryHttpContentSerializationHandler(server)))
            {
                var uri = new System.Uri("http://localhost:55893/api/");
                client.BaseAddress = uri;
                var controller = new SecuritiesMfMvcController(client);
                var result = controller.Listall();
                Assert.IsNotNull(result);
            }
        }
        public void TestActionListAll()
        {
            var uobj    = new UnitTestForApiController();
            var testobj = uobj.GetsecuritiesMfsList();

            var responseMessage = new HttpResponseMessage
            {
                Content = new FakeHttpContent(testobj)
            };
            var        messageHandler = new FakeHttpMessageHandler(responseMessage);
            HttpServer server         = new HttpServer(messageHandler);

            using (var client = new HttpClient(new InMemoryHttpContentSerializationHandler(server)))
            {
                var uri = new System.Uri("http://localhost:55893/api/");
                client.BaseAddress = uri;
                var controller = new SecuritiesMfMvcController(client);
                var result     = controller.Listall();
                Assert.IsNotNull(result);
            }
        }