public void StaticMethod() { var iocTesting = new IoCTestingStructureMap(); iocTesting.CheckDependencies(RegisteringAssemblyPath, "IoCTesting.Tests.StructureMap.StructureMapStaticMethod", TestingAssemblyPath, NamespaceToScan); }
public void TestDetectsCorrectConfiguration() { var structureMapTesting = new IoCTestingStructureMap(); var errors = structureMapTesting.CheckDependencies(RegisteringAssemblyPath, "IoCTesting.Tests.StructureMap.StructureMapUserCorrectConfiguration", TestingAssemblyPath, NamespaceToScan); Assert.AreEqual(0, errors.Count(), string.Join(", ", errors)); }