Fix isAdmin 🌶️🌶️
The method below is supposed to return true if user is exactly "root" and false otherwise (the capital letters matter). It compiles, but it does not work: it returns false even for "root". Find the bug and fix it. Run the tests and read each result: a wrong value and an exception are different clues.
What does == compare when both sides are objects? How many String objects are there here, even though both say "root"?
Use the method that compares the CHARACTERS of two Strings: equals.