public String getSha256sum() {
        if (sha256sum == null) {
            this.sha256sum = determineHashes(SHA256_HASHING_FUNCTION);
        }
        return sha256sum;
    }
@Test
    public void testGetSha256sum() {
        File file = BaseTest.getResourceAsFile(this, "struts2-core-2.1.2.jar");
        Dependency instance = new Dependency(file);
        String expResult = "5c1847a10800027254fcd0073385cceb46b1dacee061f3cd465e314bec592e81";
        String result = instance.getSha256sum();
        assertEquals(expResult, result);
    }