@Test
public void shouldSaveObject() throws Exception {

    String locationDirectory = getAbsolutePath("src", "test", "resources",
            "com", "svashishtha","mocktail", "util");
    File file = new File(locationDirectory, "saved_object");
    assertThat(file.exists(), is(false));
    objectRepository.saveObject(Arrays.asList("sandy", "ganesh", 12, 23.0),
            "saved_object", locationDirectory);
    file = new File(locationDirectory, "saved_object");
    assertThat(file.exists(), is(true));
    assertThat("Unable to delete file", true, is(file.delete()));
}