### Question:
P2POptions { public boolean isP2pEnabled() { return p2pEnabled; }  boolean isP2pEnabled(); String getP2pInterface(); int getP2pPort(); boolean isP2pDiscoveryEnabled(); List<String> getP2pDiscoveryBootnodes(); Optional<String> getP2pAdvertisedIp(); OptionalInt getP2pAdvertisedPort(); String getP2pPrivateKeyFile(); int getP2pLowerBound(); int getP2pUpperBound(); int getP2pTargetSubnetSubscriberCount(); List<String> getP2pStaticPeers(); boolean isMultiPeerSyncEnabled();  }### Answer:
@Test public void p2pEnabled_shouldNotRequireAValue() { final GlobalConfiguration globalConfiguration = getGlobalConfigurationFromArguments("--p2p-enabled"); assertThat(globalConfiguration.isP2pEnabled()).isTrue(); }
@Test public void p2pDiscoveryEnabled_shouldNotRequireAValue() { final GlobalConfiguration globalConfiguration = getGlobalConfigurationFromArguments("--p2p-discovery-enabled"); assertThat(globalConfiguration.isP2pEnabled()).isTrue(); }