public void testGetSpanCount(){
  mRichTextView.formatSpan(0,5,RichTextView.FormatType.BOLD);
  assertEquals(1,mRichTextView.getSpanCount());
}

public void testGetSpanCount ( ) { mRichTextView . formatSpan ( 0 , 5 , RichTextView . FormatType . BOLD ) ; assertEquals ( 1 , mRichTextView . getSpanCount ( ) ) ; }
adds a span to the richtextview and verifies the getspancount method .
