public void Test_Unregister_After_Dispose() { using (DdeServer server = new TestServer(ServiceName)) { server.Register(); server.Dispose(); server.Unregister(); } }