@Test
    public void testGetUsername() {
        User u = new User("login", "hash", Role.CarDept);
        assertEquals(Role.CarDept, u.getRole());
        assertEquals("login", u.getUsername());
        assertEquals("hash", u.getPasswordHash());
    }