Tweak test script no issue #
[arvados.git] / src / test / java / org / arvados / client / test / utils / ArvadosClientUnitTest.java
1 /*
2  * Copyright (C) The Arvados Authors. All rights reserved.
3  *
4  * SPDX-License-Identifier: AGPL-3.0 OR Apache-2.0
5  *
6  */
7
8 package org.arvados.client.test.utils;
9
10 import org.arvados.client.config.FileConfigProvider;
11 import org.junit.BeforeClass;
12
13 import static org.junit.Assert.assertTrue;
14
15 public class ArvadosClientUnitTest {
16
17     protected static final FileConfigProvider CONFIG = new FileConfigProvider("application.conf");
18
19     @BeforeClass
20     public static void validateConfiguration(){
21         String msg = " info must be provided in configuration";
22         CONFIG.getConfig().entrySet().forEach(e -> assertTrue("Parameter " + e.getKey() + msg, !e.getValue().render().equals("\"\"")));
23     }
24 }