@Test
public void textResource() throws Exception {

    // Given
    TextView textView = mock(TextView.class);
    int expectedResource = android.R.string.cancel;
    // When
    BlueTapeDsl
            .textResource(expectedResource)
            .bind(textView);
    // Then
    verify(textView).setText(expectedResource);
}