@Test
public void testIsApplicableTo() throws Exception {

    when(connector.getAttachmentStream(content, new User(), new Project())).thenReturn(makeAttachmentContentStream(TEST_XML_FILENAME));
    assertTrue(parser.isApplicableTo(attachment, new User(), new Project()));
}