/** Validates the correct file parsing */ @Test public void testGetValues() { assertThat(configuration.getValues()).isNotNull(); assertThat(configuration.getValues().credentials).isNotNull(); assertThat(configuration.getValues().credentials.login).isEqualTo("testLogin"); assertThat(configuration.getValues().credentials.password).isEqualTo("testPassword"); assertThat(configuration.getValues().proxy.enabled).isFalse(); assertThat(configuration.getValues().ssl.keystore).isEqualTo("testKeyStore"); }
/** Validates the proxy checking */ @Test public void testIsProxyNeeded() { assertThat(configuration.isProxyNeeded()).isFalse(); }