public void SetUp() { RepMonitor.Accepted += RecordEvent; Rep.Bind("tcp://*:9000"); Req.Connect("tcp://127.0.0.1:9000"); EventRecorded.WaitOne(1000); }