@Test
public void testGetElement() throws Exception {

    PullRequest pullRequest = new PullRequest();
    pullRequest.setMPC("some_mpc");
    PullRequestElement.createElement(headerBlock, pullRequest);
    OMElement prElement = PullRequestElement.getElement(headerBlock);
    assertEquals(PULLREQUEST_ELEMENT_NAME, prElement.getQName());
    assertEquals("some_mpc", prElement.getAttributeValue(new QName("mpc")));
}