@@ -0,0 +1,680 @@
+package me.alb_i986.selenium.tinafw.config;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.Test;%0A%0Apublic class ConfigTest %7B%0A%0A%09@Test%0A%09public void getOptionaldProperty_givenUndefinedProperty() %7B%0A%09%09String undefinedProperty = %22undefined_property%22;%0A%09%09String value = Config.getOptionalProperty(undefinedProperty);%0A%09%09assertNull(value);%0A%09%7D%0A%0A%09@Test(expected = SettingNotFoundException.class)%0A%09public void getRequiredProperty_givenUndefinedProperty() %7B%0A%09%09// given an undefined property%0A%09%09String undefinedProperty = %22undefined_property%22;%0A%09%09// when getRequiredProperty of undefined_property%0A%09%09Config.getRequiredProperty(undefinedProperty);%0A%09%09// then an exception should be thrown%0A%09%7D%0A%0A%7D%0A

add unit test for Config