예제 #1
0
        public void Should_Load_Blueprint_From_Assembly()
        {
            var factory = _helper.LoadBlueprintsFromAssembly(Assembly.GetExecutingAssembly());

            Assert.DoesNotThrow(() => factory.Create <House>());
        }
예제 #2
0
 public IFactory LoadBlueprintsFromAssembly(Assembly assembly)
 {
     return(_loader.LoadBlueprintsFromAssembly(assembly));
 }