@Test
    public void testCreateRoomWithWrongArguments() throws RoomException {
        try {
            manager.createRoom(null);
            fail("createRoom(null)");
        } catch (IllegalArgumentException e) {
            //OK
        }

        Room room = new Room(1L, 4, 8, new BigDecimal("30.10"));
        try {
            manager.createRoom(room);
            fail("bad ID");
        } catch (IllegalArgumentException e) {

        }

        room = new Room(null, -1, 8, new BigDecimal("30.1"));
        try {
            manager.createRoom(room);
            fail("bad capacity");
        } catch (IllegalArgumentException e) {

        }

        room = new Room(null, 0, 8, new BigDecimal("30.1"));
        try {
            manager.createRoom(room);
            fail("bad capacity");
        } catch (IllegalArgumentException e) {

        }

        room = new Room(null, 4, 8, null);
        try {
            manager.createRoom(room);
            fail("bad price");
        } catch (IllegalArgumentException e) {

        }

        room = new Room(null, 4, 8, new BigDecimal("30.2"));
        manager.createRoom(room);
        Room newRoom = manager.findRoomById(room.getId());
        assertNotNull(newRoom);
    }