@Test
public void testGetStringOrDefault(TestContext context){

    context.assertEquals(def, StringUtils.getStringOrDefault(null, def));
    context.assertEquals(def, StringUtils.getStringOrDefault(empty, def));
    context.assertEquals(def, StringUtils.getStringOrDefault(" ", def));
    context.assertEquals(text, StringUtils.getStringOrDefault(text, def));
    context.assertEquals(text, StringUtils.getStringOrDefault(" " + text + " ", def));
}