public void ClusterClient_should_startup_cluster()
{
Within(TimeSpan.FromSeconds(30), () =>
{
Join(_first, _first);
Join(_second, _first);
Join(_third, _first);
Join(_fourth, _first);
RunOn(() =>
{
var service = Sys.ActorOf(Props.Create(() => new TestService(TestActor)), "testService");
ClusterClientReceptionist.Get(Sys).RegisterService(service);
}, _fourth);
RunOn(() =>
{
AwaitCount(1);
}, _first, _second, _third, _fourth);
EnterBarrier("after-1");
});
}