### Question:
LiveInstance extends HelixProperty { public int getCurrentTaskThreadPoolSize() { return _record.getIntField(LiveInstanceProperty.CURRENT_TASK_THREAD_POOL_SIZE.name(), TaskConstants.DEFAULT_TASK_THREAD_POOL_SIZE); } LiveInstance(String id);  LiveInstance(ZNRecord record); @Deprecated void setSessionId(String sessionId); @Deprecated String getSessionId(); String getEphemeralOwner(); String getInstanceName(); String getHelixVersion(); void setHelixVersion(String helixVersion); String getLiveInstance(); void setLiveInstance(String liveInstance); Map<String, String> getResourceCapacityMap(); void setResourceCapacityMap(Map<String, String> resourceQuotaMap); long getModifiedTime(); String getWebserviceUrl(); void setWebserviceUrl(String url); int getCurrentTaskThreadPoolSize(); void setCurrentTaskThreadPoolSize(int currentTaskThreadPoolSize); @Override boolean isValid();  }### Answer:
@Test(dependsOnMethods = "testDataChange") public void testGetCurrentTaskThreadPoolSize() { LiveInstance testLiveInstance = new LiveInstance("testId"); testLiveInstance.getRecord() .setIntField(LiveInstance.LiveInstanceProperty.CURRENT_TASK_THREAD_POOL_SIZE.name(), 100); Assert.assertEquals(testLiveInstance.getCurrentTaskThreadPoolSize(), 100); }
@Test(dependsOnMethods = "testGetCurrentTaskThreadPoolSize") public void testGetCurrentTaskThreadPoolSizeDefault() { LiveInstance testLiveInstance = new LiveInstance("testId"); Assert.assertEquals(testLiveInstance.getCurrentTaskThreadPoolSize(), TaskConstants.DEFAULT_TASK_THREAD_POOL_SIZE); }