private void updateView(GitHubEvent event) {

        NewsItem item = NewsItem.createNewsItem(avatarLoader, event);

        View itemView = layoutInflater.inflate(item.getLayout(), null);
        ViewHolder viewHolder = item.createViewHolder(itemView);
        item.bind((com.xwray.groupie.kotlinandroidextensions.ViewHolder) viewHolder, 0);

        text = viewHolder.itemView.findViewById(R.id.tv_event);
        assertNotNull(text);
    }
Tests of the news text rendering
app/src/androidTest/java/com/github/pockethub/android/tests/NewsEventTextTest.java