public void LooksInCorrectNamespace() { var expectedType = typeof(OmniXaml.Tests.Classes.Another.DummyChild); var can = new ConfiguredAssemblyWithNamespaces( Assembly.GetAssembly(expectedType), new[] { "OmniXaml.Tests.Classes.Another" }); var result = can.Get("DummyChild"); Assert.Equal(expectedType, result); }
public void LooksInCorrectNamespace() { var expectedType = typeof(OmniXaml.Tests.Classes.Another.DummyChild); var can = new ConfiguredAssemblyWithNamespaces( Assembly.GetAssembly(expectedType), new[] { "OmniXaml.Tests.Classes.Another" }); var result = can.Get("DummyChild"); Assert.Equal(expectedType, result); }