@Test
public void testSetUserState() {

	NgTemplate template = new NgTemplate("--", "NgTemplateTest") {
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
	};
	template.setUserState("test", "bla");
	assertNotNull(template.getState().userState);
	assertEquals("{\"test\":\"bla\"}",
			template.getState().userState.replaceAll("[ \n\r\t]", ""));
}