public void RETURN_FALSE_IF_LOCAL_API_URL_IS_INVALID() { IConfiguration configuration = CommonMethods.CreateMockConfigurationFromFile(APPSETTINGS_WITH_INVALID_DATA); var localApiUrl = configuration.GetValue <string>("CQuerLocalAPIURL"); var objectUnderTest = new ValidatorHelper(); var result = objectUnderTest.IsLocalAddress(localApiUrl); Assert.IsNotNull(result); Assert.IsFalse(result); }