@Test
public void onErrorListener_shouldShowCloseButton() throws Exception {

    initializeSubject();
    subject.onCreate();
    assertThat(getShadowVideoView().getOnErrorListener().onError(null, 0, 0)).isEqualTo(false);
    assertThat(getCloseButton().getVisibility()).isEqualTo(VISIBLE);
}