### Question:
Config extends ConfigItem { public ServerConfig getP2PServerConfig() { return getServerConfigs().stream().filter(sc -> sc.getApp() == AppType.P2P).findFirst().orElse(null); } @Deprecated  Config(
            final JdbcConfig jdbcConfig,
            final List<ServerConfig> serverConfigs,
            final List<Peer> peers,
            final KeyConfiguration keyConfiguration,
            final List<String> alwaysSendTo,
            final Path unixSocketFile,
            final boolean useWhiteList,
            final boolean disablePeerDiscovery);  Config(); JdbcConfig getJdbcConfig(); List<ServerConfig> getServerConfigs(); boolean isServerConfigsNull(); @Deprecated Path getUnixSocketFile(); List<Peer> getPeers(); KeyConfiguration getKeys(); List<String> getAlwaysSendTo(); boolean isUseWhiteList(); boolean isDisablePeerDiscovery(); boolean isBootstrapNode(); void addPeer(Peer peer); ServerConfig getP2PServerConfig(); @Deprecated DeprecatedServerConfig getServer(); @Deprecated void setServer(DeprecatedServerConfig server); void setJdbcConfig(JdbcConfig jdbcConfig); void setServerConfigs(List<ServerConfig> serverConfigs); void setPeers(List<Peer> peers); void setKeys(KeyConfiguration keys); void setAlwaysSendTo(List<String> alwaysSendTo); @Deprecated void setUnixSocketFile(Path unixSocketFile); void setUseWhiteList(boolean useWhiteList); void setDisablePeerDiscovery(boolean disablePeerDiscovery); void setBootstrapNode(boolean bootstrapNode); String getVersion(); FeatureToggles getFeatures(); void setFeatures(final FeatureToggles features); EncryptorConfig getEncryptor(); void setEncryptor(EncryptorConfig encryptor);  }### Answer:
@Test public void getP2PServerConfigNoServers() { Config config = new Config(); assertThat(config.getP2PServerConfig()).isNull(); }