import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class PasswordGeneratorTest { static PasswordGenerator passwordGenerator; @BeforeAll static void init() { passwordGenerator = new PasswordGenerator(); } @Test void generateRandomPassword() { assertSame("", passwordGenerator.generateRandomPassword()); } }