<commit_before>package org.openqa.selenium.server;

import junit.framework.TestCase;

import java.io.File;

/**
 * #{@link org.openqa.selenium.server.RemoteControlConfiguration} unit test class.
 */
public class RemoteControlConfigurationUnitTest extends TestCase {
    
    public void testPortIs4444ByDefault() {
        assertEquals(4444, new RemoteControlConfiguration().getPort());
    }

    public void testPortCanBeSet() {
        final RemoteControlConfiguration configuration;
        configuration = new RemoteControlConfiguration();

        configuration.setPort(1234);
        assertEquals(1234, configuration.getPort());
    }

    public void testMultiWindowIsFalseByDefault() {
        assertFalse(new RemoteControlConfiguration().isMultiWindow());
    }

    public void testMultiWindowCanBeSet() {
        final RemoteControlConfiguration configuration;
        configuration = new RemoteControlConfiguration();

        configuration.setMultiWindow(true);
        assertTrue(configuration.isMultiWindow());
    }

    public void testProxyInjectionModeArgIsFalseByDefault() {<commit_msg>Fixing the test as multiWindow is now true by default<commit_after>package org.openqa.selenium.server;

import junit.framework.TestCase;

import java.io.File;

/**
 * #{@link org.openqa.selenium.server.RemoteControlConfiguration} unit test class.
 */
public class RemoteControlConfigurationUnitTest extends TestCase {
    
    public void testPortIs4444ByDefault() {
        assertEquals(4444, new RemoteControlConfiguration().getPort());
    }

    public void testPortCanBeSet() {
        final RemoteControlConfiguration configuration;
        configuration = new RemoteControlConfiguration();

        configuration.setPort(1234);
        assertEquals(1234, configuration.getPort());
    }

    public void testMultiWindowIsTrueByDefault() {
        assertTrue(new RemoteControlConfiguration().isMultiWindow());
    }

    public void testMultiWindowCanBeSet() {
        final RemoteControlConfiguration configuration;
        configuration = new RemoteControlConfiguration();

        configuration.setMultiWindow(true);
        assertTrue(configuration.isMultiWindow());
    }

    public void testProxyInjectionModeArgIsFalseByDefault() {
{'fraction_non_alphanumeric': 0.0852575488454707, 'fraction_numerical': 0.014209591474245116, 'mean_word_length': 4.029017857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6445259', 'n_tokens_mistral': 567, 'n_tokens_neox': 533, 'n_words': 115}