public void A_endpoint_startup_message_should_be_sent_to_the_management_service() { //transport.adress is guaranteed to be unique across endpoints so we use that a ID bus.AssertWasSent <EndpointStartupMessage>(p => p.EndpointId == transportInfo.Adress && p.Server == Environment.MachineName && p.Host == hostInformation); }