AppContext implements Serializable { public void setBootstrapType(BootstrapType bootstrapType) { this.bootstrapType = bootstrapType; }  String getNodeName(); void setNodeName(String nodeName); Integer getPort(); void setPort(Integer port); String getMasterPeerIpAddress(); void setMasterPeerIpAddress(String masterPeerIpAddress); Integer getMasterPeerPort(); void setMasterPeerPort(Integer masterPeerPort); String getStorageBasePath(); void setStorageBasePath(String storageBasePath); BootstrapType getBootstrapType(); void setBootstrapType(BootstrapType bootstrapType); String getStrAddressMint(); void setStrAddressMint(String strAddressMint); BigInteger getValueMint(); void setPrivateKey(PrivateKey privateKey); PrivateKey getPrivateKey(); List<String> getListNTPServers();  }
@Test public void testSetBootstrapType(){ context.setBootstrapType(BootstrapType.START_FROM_SCRATCH); Assert.assertEquals(BootstrapType.START_FROM_SCRATCH, context.getBootstrapType()); context.setBootstrapType(BootstrapType.REBUILD_FROM_DISK); Assert.assertEquals(BootstrapType.REBUILD_FROM_DISK, context.getBootstrapType()); }