Code example for SpinnerAdapter

Methods: getCount

0
	} 
 
	public void testPreConditions() { 
	    assertTrue(mSpinner.getOnItemSelectedListener() != null);
	    assertTrue(mPlanetData != null);
	    assertEquals(mPlanetData.getCount(),ADAPTER_COUNT);
	  } // end of testPreConditions() method definition 
 
	public void testAddShopItem() { 
		listAct.addShopItem(mText);
		assertNull(mText.getText());
	} 
 
}