You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
428 B

  1. import org.junit.jupiter.api.BeforeAll;
  2. import org.junit.jupiter.api.Test;
  3. import static org.junit.jupiter.api.Assertions.*;
  4. class PasswordGeneratorTest {
  5. static PasswordGenerator passwordGenerator;
  6. @BeforeAll
  7. static void init() {
  8. passwordGenerator = new PasswordGenerator();
  9. }
  10. @Test
  11. void generateRandomPassword() {
  12. assertSame("", passwordGenerator.generateRandomPassword());
  13. }
  14. }