Ejemplo n.º 1
0
        public void Should_Load_Blueprint_From_Current_Assembly()
        {
            var factory = _helper.LoadBlueprintsFromCurrentAssembly(Assembly.GetExecutingAssembly());

            Assert.DoesNotThrow(() => factory.Create <House>());
        }
Ejemplo n.º 2
0
 public IFactory LoadBlueprintsFromCurrentAssembly()
 {
     return(_loader.LoadBlueprintsFromCurrentAssembly(Assembly.GetCallingAssembly()));
 }