@Test
public void testIsVisibleLayoutPageTemplate() {

	LayoutPageTemplateEntryLocalService
		layoutPageTemplateEntryLocalService = Mockito.mock(
			LayoutPageTemplateEntryLocalService.class);
	Mockito.when(
		layoutPageTemplateEntryLocalService.
			fetchLayoutPageTemplateEntryByPlid(Mockito.anyLong())
	).thenReturn(
		Mockito.mock(LayoutPageTemplateEntry.class)
	);
	TestLayoutScreenNavigationEntry testLayoutScreenNavigationEntry =
		new TestLayoutScreenNavigationEntry(
			layoutPageTemplateEntryLocalService);
	Assert.assertFalse(
		testLayoutScreenNavigationEntry.isVisible(
			Mockito.mock(User.class), _getLayout(null)));
}