@Test
    public void testAuthenticationFalse() {
        Model model = new Model();
        User user = new User("adam", "1234", Role.CarDept);
        model.getDb().addUser(user);
        assertEquals(false, model.authenticate("adam", "123"));
        assertEquals(model.getAuthenticatedRole(), Role.NotAuthenticated);
    }