public void RecieveOptions_DoSearch() { var options = new SearchOptions(true); options.MinAny = 5; this.Send(Event.SendToSearch, options.AsParams(MessageKeys.ToSearchPackage)); Assert.AreEqual(options, s.LastRecieverQueryBlock.Options); Assert.IsTrue(s.Result != null); Assert.IsTrue(!s.ControlsVisible); }