    @Test
    public void should_move_recording_video() throws IOException, NoSuchMethodException {


        final File destination = temporaryFolder.newFolder("destination");
        final File video = temporaryFolder.newFile("file.flv");
        Files.write(video.toPath(), "Hello".getBytes());

        when(seleniumContainers.getVideoRecordingFile()).thenReturn(video.toPath());
        when(after.getTestClass()).thenReturn(new TestClass(VncRecorderLifecycleManagerTest.class));
        when(after.getTestMethod()).thenReturn(
            VncRecorderLifecycleManagerTest.class.getMethod("should_move_recording_video"));

        Map<String, String> conf = new HashMap<>();
        conf.put("videoOutput", destination.getAbsolutePath());

        TestResult testResult = TestResult.passed();

        VncRecorderLifecycleManager vncRecorderLifecycleManager = new VncRecorderLifecycleManager();
        vncRecorderLifecycleManager.vnc = cube;
        vncRecorderLifecycleManager.afterVideoRecordedEvent = event;
        vncRecorderLifecycleManager.stopRecording(after,
            testResult,
            CubeDroneConfiguration.fromMap(conf),
            seleniumContainers
        );

        assertThat(new File(destination,
            "org_arquillian_cube_docker_drone_VncRecorderLifecycleManagerTest_should_move_recording_video.flv"))
            .exists()
            .hasContent("Hello");
    }