@Test
public void test_converSDBInputsToLowerCase() throws IOException {

    SafeBasicDetails safeBasicDetails = new SafeBasicDetails("Safe01", "youremail@yourcompany.com", null, "My first safe");
    Safe safe = new Safe("Shared/safe01",safeBasicDetails);
    String jsonStr = "{\"path\":\"Shared/Safe01\",\"safeBasicDetails\":{\"name\":\"Safe01\",\"ownwe\":\"youremail@yourcompany.com\", \"description\":\"My first safe\"}}";
    String jsonStrlowercase = "{\"path\":\"shared/safe01\",\"safeBasicDetails\":{\"name\":\"safe01\",\"ownwe\":\"youremail@yourcompany.com\", \"description\":\"My first safe\"}}";
    when(JSONUtil.getObj(jsonStr, Safe.class)).thenReturn(safe);
    when(JSONUtil.getJSON(safe)).thenReturn(jsonStrlowercase);
    String jsonLowerCase = ControllerUtil.converSDBInputsToLowerCase(jsonStr);
    assertEquals(jsonStrlowercase, jsonLowerCase);
}