    @Test
    public void testHashpwTooLittleRounds() throws IllegalArgumentException {

        thrown.expect(IllegalArgumentException.class);
        BCrypt.hashpw("foo", "$2a$03$......................");
    }