### Question:
MiniXmlParser { public boolean isMonitoringEnabled() { return monitoringEnabled; } MiniXmlParser(File domainXml);  MiniXmlParser(File domainXml, String serverName); Map<String, String> getJavaConfig(); List<JvmOption> getJvmOptions(); Map<String, String> getProfilerConfig(); List<String> getProfilerJvmOptions(); Map<String, String> getProfilerSystemProperties(); Map<String, String> getSystemProperties(); String getDomainName(); List<HostAndPort> getAdminAddresses(); List<Map<String, String>> getProtocolAttributes(); List<Map<String, String>> getIiopSslAttributes(); @Deprecated void setupConfigDir(File configDir, File installDir); void setupConfigDir(File configDir); boolean getSecureAdminEnabled(); String getLogFilename(); String getInstanceLogFilename(); boolean isMonitoringEnabled(); boolean hasNetworkConfig(); boolean hasDefaultConfig(); String getAdminRealmName(); Map<String,String> getAdminRealmProperties();  }### Answer:
@Test public void testMonitoringTrue() throws MiniXmlParserException { MiniXmlParser instance = new MiniXmlParser(monitoringTrue, "server"); assertTrue(instance.isMonitoringEnabled()); }
@Test public void testMonitoringFalse() throws MiniXmlParserException { MiniXmlParser instance = new MiniXmlParser(monitoringFalse, "server"); assertTrue(!instance.isMonitoringEnabled()); }
@Test public void testMonitoringNone() throws MiniXmlParserException { MiniXmlParser instance = new MiniXmlParser(monitoringNone, "server"); assertTrue(instance.isMonitoringEnabled()); }