Statistics
| Branch: | Revision:

root / trunk / Pithos.ShellExtensions.Test / IoCTest.cs @ b666b39a

History | View | Annotate | Download (530 Bytes)

1
using System.Linq;
2
using NUnit.Framework;
3

    
4
namespace Pithos.ShellExtensions.Test
5
{
6
    [TestFixture]
7
    public class IoCTest
8
    {
9
        [Test]
10
        public void TestIoCInit()
11
        {
12
            var ioc = IoC.Current;
13
           /* var catalog = new AggregateCatalog();
14
            catalog.Catalogs.Add(new AssemblyCatalog(Assembly.GetExecutingAssembly()));
15

    
16
            ioc.Container = new CompositionContainer(catalog);
17
*/
18
            
19

    
20
            Assert.IsTrue(ioc.Container.Catalog.Parts.Any());
21
        }
22
    }
23
}