@Test
public void shouldGetObject() throws Exception {

    String locationDirectory = getAbsolutePath("src", "test", "resources",
            "com", "svashishtha","mocktail", "util");
    List recordedList = (List) objectRepository.getObject(
            "recorded_list.ser", locationDirectory);
    assertThat(recordedList.size(), is(4));
    assertThat((String) recordedList.get(0), is("sandy"));
    assertThat((String) recordedList.get(1), is("ganesh"));
    assertThat((Integer) recordedList.get(2), is(12));
    assertThat((Double) recordedList.get(3), is(23.0));
}