SimpleTransportModePanelAdapter extends TransportModePanelAdapter { @Override public boolean isContentVisible() { return false; } SimpleTransportModePanelAdapter(final Context context);  SimpleTransportModePanelAdapter(final Context context, List<RouteOptions.TransportMode> transportModes); @Override Fragment getContent(final RouteOptions.TransportMode mode); @Deprecated @Override TabView getTabCustomView(final RouteOptions.TransportMode mode); @Override TabView getCustomTabView(final RouteOptions.TransportMode mode); @Override boolean isContentVisible();  }
@Test public void testInitialization() { SimpleTransportModePanelAdapter adapter = new SimpleTransportModePanelAdapter(getContextWithTheme()); assertThat(adapter.getCount(), equalTo(5)); assertNull(adapter.getItem(0)); assertNotNull(adapter.getTabView(0) .getIcon()); assertThat(adapter.isContentVisible(), is(false)); }