use of com.tvd12.properties.file.struct.SetterMethod in project properties-file by tvd12.
the class SetterMethodTest method getKeyStartWithNotSet.
@Test
public void getKeyStartWithNotSet() throws Exception {
// given
SetterMethod method = new SetterMethod(new PropertyAnnotations());
method.initWithMethod(ClassA.class.getDeclaredMethod("value", String.class));
// when
String key = method.getKey();
// then
assertEquals(key, "value");
}
Aggregations