public void MirandaGetSingletonTest() { ISingleton singleton = context.Get <ISingleton>(); Assert.AreEqual(SINGLETON_STRING, singleton.GetString()); string anotherString = "Change to this string."; singleton.ChangeString(anotherString); ISingleton anotherInstance = context.Get <ISingleton>(); Assert.AreNotEqual(SINGLETON_STRING, anotherInstance.GetString()); Assert.AreEqual(anotherString, anotherInstance.GetString()); }