### Question:
LocationMonitorState implements Serializable, IsSerializable { public boolean atLeastOneMonitorStarted() { if (m_monitorsStarted.size() > 0) { return true; } return false; } LocationMonitorState();  LocationMonitorState(Collection<GWTLocationSpecificStatus> statuses);  LocationMonitorState(Collection<GWTLocationMonitor> monitors, Collection<GWTLocationSpecificStatus> statuses); StatusDetails getStatusDetails(); boolean allMonitorsStarted(); boolean atLeastOneMonitorStarted(); boolean allButOneMonitorsDisconnected(); boolean allMonitorsDisconnected(); boolean noMonitorsStarted(); int getMonitorsStarted(); int getMonitorsStopped(); int getMonitorsDisconnected(); Collection<GWTMonitoredService> getServices(); Collection<String> getServicesDown(); Collection<GWTLocationMonitor> getMonitorsWithServicesDown(); boolean noMonitorsExist(); String toString();  }### Answer:
@Test public void testAtLeastOneMonitorStarted() { Collection<GWTLocationMonitor> monitors = new ArrayList<GWTLocationMonitor>(); for (int i = 0; i < 5; i++) { monitors.add(getMonitor("DISCONNECTED")); } monitors.add(getMonitor("CONFIG_CHANGED")); LocationMonitorState lms = new LocationMonitorState(monitors, null); assertTrue("at least one monitor is CONFIG_CHANGED or STARTED", lms.atLeastOneMonitorStarted()); monitors.add(getMonitor("STARTED")); lms = new LocationMonitorState(monitors, null); assertTrue("at least one monitor is CONFIG_CHANGED or STARTED", lms.atLeastOneMonitorStarted()); }