@Test(expected = HotelInputException.class) public void testDoAdapterWithEmptyInput() throws Exception { hotelInputReader.clean(); CustomerAdapter adapter = new CustomerAdapter(hotelInputReader); adapter.doAdapter(); }