HadoopConfigurationInfo { public boolean isActive() { return isActive; } HadoopConfigurationInfo( String id, String name, boolean isActive, boolean willBeActiveAfterRestart ); String getId(); String getName(); boolean isActive(); boolean isWillBeActiveAfterRestart();  }
@Test public void testIsActive() { assertTrue( hadoopConfigurationInfo.isActive() ); isActive = false; createHadoopConfigurationInfo(); assertFalse( hadoopConfigurationInfo.isActive() ); }