I need to write a NUnit test case for testing my following method in a Prism application.
How do I get a reference of Unity Container in my test class? Typically the NUnit test cases are built into a separate project from the main applicatioin.
My application registers a lot of services with the Unity container, Object Manager service is one example which needs to be tested
public override Object get(string guid)
Object data =
ObjectManager objectManager = CompositeContainer.Container.Resolve<ObjectManager>();
data = objectManager.Get<Object>(new
catch (Exception ex)