@Test
public void testGetTabUnavailable() {

	SearchAdminDisplayBuilder searchAdminDisplayBuilder =
		new SearchAdminDisplayBuilder(
			_language, _portal,
			getRenderRequestWithSelectedTab(RandomTestUtil.randomString()),
			new MockRenderResponse());
	searchAdminDisplayBuilder.setIndexInformation(
		Mockito.mock(IndexInformation.class));
	SearchAdminDisplayContext searchAdminDisplayContext =
		searchAdminDisplayBuilder.build();
	Assert.assertEquals(
		"connections", searchAdminDisplayContext.getSelectedTab());
}