@Test
public void testClean() throws Exception {

    when( context.getResources().getStringArray( any( int.class ) ) ).thenReturn( new String[] { "THE ", "AN ", "A " } );
    assertThat( ArticleCleaner.clean( context, "The quick brown fox..." ), equalTo( "quick brown fox..." ) );
    assertThat( ArticleCleaner.clean( context, "THE QUICK BROWN FOX..." ), equalTo( "QUICK BROWN FOX..." ) );
    assertThat( ArticleCleaner.clean( context, "the quick brown fox..." ), equalTo( "quick brown fox..." ) );
    assertThat( ArticleCleaner.clean( context, "An interesting idea..." ), equalTo( "interesting idea..." ) );
    assertThat( ArticleCleaner.clean( context, "an interesting idea..." ), equalTo( "interesting idea..." ) );
    assertThat( ArticleCleaner.clean( context, "A stitch in time..." ), equalTo( "stitch in time..." ) );
    assertThat( ArticleCleaner.clean( context, "a stitch in time..." ), equalTo( "stitch in time..." ) );
    assertThat( ArticleCleaner.clean( context, "The An A ..." ), equalTo( "..." ) );
    assertThat( ArticleCleaner.clean( context, "THE AN A ..." ), equalTo( "..." ) );
    assertThat( ArticleCleaner.clean( context, "the an a ..." ), equalTo( "..." ) );
}