@Test
public void testReadElement() throws Exception {

    PullRequest pullRequest = new PullRequest();
    pullRequest.setMPC("some_mpc");
    assertEquals("some_mpc", pullRequest.getMPC());
    OMElement prSignalElement =
            PullRequestElement.createElement(headerBlock, pullRequest);
    pullRequest = PullRequestElement.readElement((OMElement) prSignalElement.getChildrenWithName(PULLREQUEST_ELEMENT_NAME).next());
    assertEquals("some_mpc", pullRequest.getMPC());
}