DeclareAsNewMaster() public method

public DeclareAsNewMaster ( ) : void
return void
Exemplo n.º 1
0
 public void NodeConfiguration_DeclareAsNewMaster_Success_Test()
 {
     var nodeConfiguration = new NodeConfiguration();
     nodeConfiguration.DeclareAsNewMaster();
     Assert.IsTrue(nodeConfiguration.IsMaster);
 }
Exemplo n.º 2
0
 public void NodeConfiguration_DeclareAsNewMaster_AlreadyMaster_Test()
 {
     var nodeConfiguration = new NodeConfiguration();
     nodeConfiguration.DeclareAsNewMaster();
     nodeConfiguration.DeclareAsNewMaster();
 }