@Test
public void testDownloadSignatureUpdateWhenConnectionFails() throws SignatureManagerException {
Throwable cause = new UnknownHostException("proxy");
SignatureManagerException updateException = new SignatureManagerException(
new RuntimeException("Failed", cause));
when(signatureManager.downloadLatest(SignatureType.BINARY)).thenThrow(updateException);
when(signatureManager.downloadLatest(SignatureType.CONTAINER)).thenThrow(updateException);
try {
command.execute();