@Test(expected = NullPointerException.class)
public void testGetRoomFilesShouldFailWithNullSortBy() {

    rest.getRoomFiles("roomId", BaseRoom.RoomType.PUBLIC, 0, null, Sort.DESC, attachmentCallback);
}