@SuppressWarnings("rawtypes")
@Test
public void shouldReadObj() throws Exception {

    List recordedList = (List) objectRepository
            .getObject(this.getClass().getClassLoader().getResourceAsStream("com/svashishtha/mocktail/util/recorded_list.ser"));
    assertThat(recordedList.size(), is(4));
}