@Test
public void testGetViewerSessionId() throws Exception {

  assertNull( sra.getViewerSessionId() );
  Map<String, Object> inputs = new HashMap<String, Object>() {
    {
      put( "::session", 1 );
    }
  };
  sra.setVarArgs( inputs );
  assertNull( sra.getViewerSessionId() );
  inputs = new HashMap<String, Object>() {
    {
      put( "::session", "1" );
    }
  };
  sra.setVarArgs( inputs );
  assertEquals( "1", sra.getViewerSessionId() );
}