@Test
  @Templates(value = {"plain"})
  public void testPreviousItem() {
    prevItemButton.click();
    assertEquals(valueOutput.getStringValue(), "null");

    Graphene.guardAjax(switchTo5Button).click();
    prevItemButton.click();
    assertEquals(valueOutput.getStringValue(), "item4");
  }
  @Test
  @Templates(value = {"plain"})
  public void testPreviousItemWithCycledSwitching() {
    attributes.set(AccordionAttributes.cycledSwitching, Boolean.TRUE);

    prevItemButton.click();
    assertEquals(valueOutput.getStringValue(), "item5");

    Graphene.guardAjax(switchTo5Button).click();
    prevItemButton.click();
    assertEquals(valueOutput.getStringValue(), "item4");
  }
 private int getValue() {
   return Integer.valueOf(value.getStringValue().replaceAll("px", ""));
 }
 @Test
 @Templates(value = {"plain"})
 public void testFirstItem() {
   firstItemButton.click();
   assertEquals(valueOutput.getStringValue(), "item1");
 }
 @Test
 @Templates(value = {"plain"})
 public void testGetItemsNames() {
   getItemsNamesButton.click();
   assertEquals(valueOutput.getStringValue(), "item1,item2,item3,item4,item5");
 }