@Test
public void testIsApplicableTo() throws Exception {

    when(connector.getAttachmentStream(eq(content), anyObject(), anyObject())).thenReturn(new ReaderInputStream(new StringReader(CLI_TESTFILE)));
    assertTrue(parser.isApplicableTo(attachment, new User(), new Project()));
}