private void AssertRouting(string service, RouterConfig expected, string expectPath) { var deployment = ((ActorSystemImpl)Sys).Provider.Deployer.Lookup(service.Split('/').Drop(1)); Assert.Equal(expectPath, deployment.Path); Assert.Equal(expected.GetType(), deployment.RouterConfig.GetType()); Assert.Equal(Deploy.NoScopeGiven, deployment.Scope); if (expected is Pool pool) { Assert.Equal(pool.Resizer, ((Pool)deployment.RouterConfig).Resizer); } }