@Test(expected = IOException.class)
public void testPolicyCtorFile() throws IOException {

    ChaincodeEndorsementPolicy policy = new ChaincodeEndorsementPolicy();
    policy.fromFile(new File("/does/not/exists"));
}