@@ -0,0 +1,1842 @@
+/*%0A * (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *   http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A *%0A */%0Apackage io.github.bonigarcia.test.docker;%0A%0Aimport static org.junit.jupiter.api.Assertions.assertTrue;%0A%0Aimport java.io.IOException;%0Aimport java.lang.reflect.Type;%0Aimport java.util.Map;%0A%0Aimport org.junit.jupiter.api.Test;%0Aimport org.junit.jupiter.api.extension.ExtendWith;%0Aimport org.mockito.InjectMocks;%0A%0Aimport com.google.common.reflect.TypeToken;%0Aimport com.google.gson.Gson;%0A%0Aimport io.github.bonigarcia.SelenoidConfig;%0Aimport io.github.bonigarcia.test.mockito.MockitoExtension;%0A%0A@ExtendWith(MockitoExtension.class)%0Apublic class SelenoidConfigFromHubTest %7B%0A%0A    @InjectMocks%0A    SelenoidConfig selenoidConfig;%0A%0A    @Test%0A    @SuppressWarnings(%22serial%22)%0A    void testBrowserConfig() throws IOException %7B%0A        String browsersJsonFromProperties = selenoidConfig%0A                .getBrowsersJsonAsString();%0A%0A        Gson gson = new Gson();%0A        Type mapType = new TypeToken%3CMap%3CString, Object%3E%3E() %7B%0A        %7D.getType();%0A        Map%3CString, Object%3E browserMap = gson%0A                .fromJson(browsersJsonFromProperties, mapType);%0A%0A        assertTrue(browserMap.containsKey(%22chrome%22));%0A        assertTrue(browserMap.containsKey(%22firefox%22));%0A        assertTrue(browserMap.containsKey(%22operablink%22));%0A    %7D%0A%0A%7D%0A

Add test to check browser config form Docker Hub