Code example for Spinner

Methods: assertNotNull, getAdapter, getOnItemSelectedListener

0
		super.assertNotNull(this.fromCurrency);
		super.assertNotNull(this.fromCurrency.getOnItemSelectedListener());
		super.assertEquals(currencies.length, this.fromCurrency.getAdapter()
				.getCount());
 
		super.assertNotNull(this.toCurrency);
		super.assertNotNull(this.toCurrency.getOnItemSelectedListener());
		super.assertEquals(currencies.length, this.toCurrency.getAdapter()
				.getCount());
 
		super.assertNotNull(this.inputAmount);
		super.assertEquals("1", this.inputAmount.getText().toString());
 
		super.assertNotNull(this.outputAmount);
 
		super.assertNotNull(this.convert);
		super.assertNotNull(this.reverseCurrencies);
		super.assertNotNull(this.clearInput);
		super.assertNotNull(this.copyResult);
	}