DeclareAsNewMaster() public method

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