Well, here is a sample.
This is the test code,that in UnitOfWorkManager_Tests class of Abp.Tests projoect, at row 16 ~ 21:
LocalIocManager.IocContainer.Register(
Component.For<IUnitOfWorkDefaultOptions>().ImplementedBy<UnitOfWorkDefaultOptions>().LifestyleSingleton(),
Component.For<ICurrentUnitOfWorkProvider>().ImplementedBy<CallContextCurrentUnitOfWorkProvider>().LifestyleSingleton(),
Component.For<IUnitOfWorkManager>().ImplementedBy<UnitOfWorkManager>().LifestyleSingleton(),
Component.For<IUnitOfWork>().UsingFactoryMethod(() => fakeUow).LifestyleSingleton()
);
but the UnitOfWorkDefaultOptions and UnitOfWorkManager live in Abp project, and is really internal class, such as :
internal class UnitOfWorkDefaultOptions : IUnitOfWorkDefaultOptions
internal class UnitOfWorkManager : IUnitOfWorkManager, ITransientDependency
May be I miss something?