    @Test
    public void givenAndroidVersionKitKatOrHigher_whenCreatingANewCaptionManager_thenKitKatClosedCaptionManagerReturned() {

        when(mockAndroidVersion.isKitKatOrHigher()).thenReturn(true);

        CaptionManager captionManager = closedCaptionManagerFactory.createCaptionManager(mockContext);

        assertThat(captionManager).isInstanceOf(ClosedCaptionManagerKitKat.class);
    }