### Question:
NewTableConfiguration { public NewTableConfiguration createOffline() { this.initialTableState = InitialTableState.OFFLINE; return this; }  NewTableConfiguration setTimeType(TimeType tt); TimeType getTimeType(); NewTableConfiguration withoutDefaultIterators(); NewTableConfiguration createOffline(); InitialTableState getInitialTableState(); NewTableConfiguration setProperties(Map<String,String> props); Map<String,String> getProperties(); Collection<Text> getSplits(); NewTableConfiguration enableSampling(SamplerConfiguration samplerConfiguration); NewTableConfiguration enableSummarization(SummarizerConfiguration... configs); NewTableConfiguration setLocalityGroups(Map<String,Set<Text>> groups); NewTableConfiguration withSplits(final SortedSet<Text> splits); NewTableConfiguration attachIterator(IteratorSetting setting); NewTableConfiguration attachIterator(IteratorSetting setting,
      EnumSet<IteratorScope> scopes);  }### Answer:
@Test public void testCreateOffline() { NewTableConfiguration ntcOffline = new NewTableConfiguration().createOffline(); assertTrue(ntcOffline.getInitialTableState() == InitialTableState.OFFLINE); NewTableConfiguration ntcOnline = new NewTableConfiguration(); assertTrue(ntcOnline.getInitialTableState() == InitialTableState.ONLINE); }