@Test(expected = SW360ClientException.class)
public void testCalculateHashException() throws NoSuchAlgorithmException {

    Path file = Paths.get("non/existing/file.txt");
    MessageDigest digest = MessageDigest.getInstance("md5");
    SW360AttachmentUtils.calculateHash(file, digest);
}