function testItem() {
  assertEquals(ID, item.id);
  assertObjectEquals(CONDITIONS, item.conditions);
  assertUndefined(item.parentItem);
  assert(item.container instanceof Element);
  assert(item.eventDispatcher instanceof goog.events.EventTarget);
}
/**
 * Tests whether the item constructor works correctly.
 */
Tests whether the item constructor works correctly.
Tests whether the item constructor works correctly .
function testItem() {
  assertEquals(ID, item.id);
  assertObjectEquals(CONDITIONS, item.conditions);
  assertUndefined(item.parentItem);
  assert(item.container instanceof Element);
  assert(item.eventDispatcher instanceof goog.events.EventTarget);
}
function testItem ( ) { assertEquals ( ID , item . id ) ; assertObjectEquals ( CONDITIONS , item . conditions ) ; assertUndefined ( item . parentItem ) ; assert ( item . container instanceof Element ) ; assert ( item . eventDispatcher instanceof goog . events . EventTarget ) ; }
Tests whether the item constructor works correctly.
Tests whether the item constructor works correctly .