@Test
public void setShouldThrowExceptionIfUserIsNull() {

    expectedException.expect(IllegalArgumentException.class);
    expectedException.expectMessage("User can not be null");
    userList.set(0, null);
}