public void ThenIReceiveThisOkMessage(string id) { var m = cc.GetContext().Messages.FirstOrDefault(o => o.Id == id && o.Type == MessageType.Ok); m.Should().NotBeNull(); }