public void EmitCreateInstanceTest() { containerEmit.AddAssembly(Assembly.GetExecutingAssembly()); var customerBll = containerEmit.CreateInstance <FirstCustomerBLL>(); Assert.IsNotNull(customerBll); Assert.IsTrue(customerBll.GetType() == typeof(FirstCustomerBLL)); }