public void DisposeZLM_Works() { var zlm = new ZLM(false, false, false); var zlmrpc = new ZLMRPC(zlm); //act zlmrpc.DisposeZLM(); //assert Assert.That(zlm.Zones, Is.Null); Assert.That(zlm.ProgramSets, Is.Null); zlmrpc.Dispose(); }
public void CreateZLM_Works() { var zlm = new ZLM(false, false, false); var zlmrpc = new ZLMRPC(zlm); Assert.That(Container.ZLM, Is.Null); zlmrpc.DisposeZLM(); //act zlmrpc.CreateZLM(); //assert Assert.That(Container.ZLM, Is.Not.Null); zlmrpc.Dispose(); }