private void CreateConfigurerAndTestLinkedList(IDictionary typeAliases) { TypeAliasConfigurer typeAliasConfigurer = new TypeAliasConfigurer(); typeAliasConfigurer.TypeAliases = typeAliases; typeAliasConfigurer.Order = 1; typeAliasConfigurer.PostProcessObjectFactory(factory); //todo investigate mocking the typeregistry, for now ask the actual one for information. Assert.IsTrue(TypeRegistry.ContainsAlias("LinkedList"), "TypeAliasConfigurer did not register a type alias with the TypeRegistry"); Type linkedListType = TypeRegistry.ResolveType("LinkedList"); Assert.IsTrue(linkedListType.Equals(typeof(LinkedList)), "Incorrect type resolved."); Assert.AreEqual(1, typeAliasConfigurer.Order); }