mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
more project cleanup.
This commit is contained in:
parent
5d7f6fb03b
commit
401ed9a8f6
29 changed files with 154 additions and 315 deletions
|
@ -18,8 +18,8 @@ namespace NzbDrone.Test.Common.AutoMoq
|
|||
[DebuggerStepThrough]
|
||||
public class AutoMoqer
|
||||
{
|
||||
internal readonly MockBehavior DefaultBehavior = MockBehavior.Default;
|
||||
internal Type ResolveType;
|
||||
public readonly MockBehavior DefaultBehavior = MockBehavior.Default;
|
||||
public Type ResolveType;
|
||||
private IUnityContainer container;
|
||||
private IDictionary<Type, object> registeredMocks;
|
||||
|
||||
|
@ -35,7 +35,7 @@ namespace NzbDrone.Test.Common.AutoMoq
|
|||
|
||||
}
|
||||
|
||||
internal AutoMoqer(IUnityContainer container)
|
||||
public AutoMoqer(IUnityContainer container)
|
||||
{
|
||||
SetupAutoMoqer(container);
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ namespace NzbDrone.Test.Common.AutoMoq
|
|||
return mock;
|
||||
}
|
||||
|
||||
internal virtual void SetMock(Type type, Mock mock)
|
||||
public virtual void SetMock(Type type, Mock mock)
|
||||
{
|
||||
if (registeredMocks.ContainsKey(type) == false)
|
||||
registeredMocks.Add(type, mock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue