@Test
public void testBadYaml() throws IOException, ChaincodeEndorsementPolicyParseException {

    try {
        ChaincodeEndorsementPolicy itTestPolicy = new ChaincodeEndorsementPolicy();
        itTestPolicy.fromYamlFile(new File("src/test/fixture/sample_chaincode_endorsement_policies/badusertestCCEPPolicy.yaml"));
        fail("Expected ChaincodeEndorsementPolicyParseException");
    } catch (ChaincodeEndorsementPolicyParseException e) {
    } catch (Exception e) {
        fail("Expected ChaincodeEndorsementPolicyParseException");
    }
}