|
|
@ -197,7 +197,7 @@ public class VaultTest { |
|
|
|
vlt.setCapital("no"); |
|
|
|
|
|
|
|
assertFalse(vlt.haveCapitals = false); |
|
|
|
assertTrue(outputStream.toString().contains("don't")); |
|
|
|
assertTrue(outputStream.toString().contains("anymore")); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
@ -221,7 +221,7 @@ public class VaultTest { |
|
|
|
vlt.setSpecialChar("no"); |
|
|
|
|
|
|
|
assertFalse(vlt.hasSpecialChars = false); |
|
|
|
assertTrue(outputStream.toString().contains("don't")); |
|
|
|
assertTrue(outputStream.toString().contains("anymore")); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
@ -246,7 +246,7 @@ public class VaultTest { |
|
|
|
vlt.setNumbers("no"); |
|
|
|
|
|
|
|
assertFalse(vlt.hasNumbers = false); |
|
|
|
assertTrue(outputStream.toString().contains("don't")); |
|
|
|
assertTrue(outputStream.toString().contains("anymore")); |
|
|
|
} |
|
|
|
|
|
|
|
private ByteArrayInputStream getEmptyStringInputStream() { |
|
|
|