Assert.False(a.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a master");
Assert.True(a.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a slave");
Assert.False(b.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a master");
Assert.True(b.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a slave");
Assert.False(a.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a master");
Assert.True(a.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a slave");
Assert.False(b.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a master");
Assert.True(b.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a slave");
Assert.True(a.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a slave");
Assert.False(a.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a master");
varepA=subA.SubscribedEndpoint(channel);
Assert.True(b.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a slave");
varepB=subB.SubscribedEndpoint(channel);
Assert.False(b.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a master");
Assert.True(a.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a slave");
Assert.False(a.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a master");
Assert.True(b.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a slave");
Assert.False(b.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a master");