@Test
public void readError() {

    expected.expect(AssertionError.class);
    expected.expectMessage("Unexpected field: unexpected");
    JsonSecurityAnalysisParameters.read(getClass().getResourceAsStream("/SecurityAnalysisParametersInvalid.json"));
}