adds notes

This commit is contained in:
Shannon
2016-04-21 12:15:39 +02:00
parent 55ae0d3af6
commit 081d6ecc07

View File

@@ -17,6 +17,8 @@ namespace Umbraco.Tests.TestHelpers
{
class ServiceContextHelper
{
//NOTE: Should be used sparingly for integration tests only - for unit tests you can just mock the services to be passed to the
// ctor of the ServiceContext.
public static ServiceContext GetServiceContext(RepositoryFactory repositoryFactory,
IDatabaseUnitOfWorkProvider dbUnitOfWorkProvider,
IUnitOfWorkProvider fileUnitOfWorkProvider,