@Test
public void testGetViewRepresentation() throws Exception {

	SenBotContext senBotContext = SenBotContext.getSenBotContext();
	SeleniumManager seleniumManager = senBotContext.getSeleniumManager();
	seleniumManager.associateTestEnvironment(seleniumManager.getSeleniumTestEnvironments().get(0));
	senBotContext.getCucumberManager().startNewScenario();
	
	
	NavigationService service = new NavigationService(new ElementService());
	service.navigate_to_url("resource_location:/test_pages/exampleTable.html");
	
	MockExampleTablePage examplePage = seleniumManager.getViewRepresentation(MockExampleTablePage.class);
	
	assertNotNull("ensure that the table row has indeed been matched up with the associated web element", examplePage.table_Row_1);
	
	MockExampleTablePage secondCall = seleniumManager.getViewRepresentation(MockExampleTablePage.class);
	assertEquals(examplePage, secondCall);
	MockExampleTablePage forcedUpdate = seleniumManager.getViewRepresentation(MockExampleTablePage.class, true);
	assertNotSame(examplePage, forcedUpdate);
	
	senBotContext.cleanupSenBot();
}