|
@ -90,9 +90,9 @@ class PasswordManagerTest { |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
void createNewVault() { |
|
|
void createNewVault() { |
|
|
assertEquals(0, pm.vaults.size()); |
|
|
|
|
|
|
|
|
int vaultCount = pm.vaults.size(); |
|
|
pm.createNewVault(); |
|
|
pm.createNewVault(); |
|
|
assertEquals(1, pm.vaults.size()); |
|
|
|
|
|
|
|
|
assertEquals(vaultCount + 1, pm.vaults.size()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private ByteArrayInputStream getEmptyStringInputStream() { |
|
|
private ByteArrayInputStream getEmptyStringInputStream() { |
|
|