Example #1
0
  @Test
  public void testSerialize() throws Exception {
    DQPWorkContext copy = UnitTestUtil.helpSerialize(example());

    assertEquals("5", copy.getSessionId()); // $NON-NLS-1$
    assertEquals("userName", copy.getUserName()); // $NON-NLS-1$
    assertEquals("vdbName", copy.getVdbName()); // $NON-NLS-1$
    assertEquals("1", copy.getVdbVersion()); // $NON-NLS-1$
    assertEquals("querybuilder", copy.getAppName()); // $NON-NLS-1$
  }