﻿using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NFluent;
using Xunit;
using System.ComponentModel;
using IngressChase;
using Unity;

namespace IngressChaseTest
{
    public class UnityServiceProviderTest
    {
        [Fact]
        public void GetService()
        {
            var target = new UnityServiceProvider();
            target.UnityContainer.RegisterInstance("toto");
            var service = target.GetService(typeof (string));
            Check.That(service).IsInstanceOf<string>();
        }
    }
}
