public void Given_Valid_Arguments_When_Multiple_Instance_Invoked_Then_Valid_Result_Asserted() { Callbacks callbacks = new Callbacks(); AlertMonitoringFunction func = new AlertMonitoringFunction(callbacks.CallbackFunc); alertMonitorList.Subscribe("id", func); SharedResources.AlertMonitorList.AlertMonitorList list = SharedResources.AlertMonitorList.AlertMonitorList.Instance; Assert.IsFalse(list.IsEmpty()); alertMonitorList.Unsubscribe("id"); Assert.IsTrue(list.IsEmpty()); }