@Test(expected = RepoInitParsingException.class)
public void testBindParserProcessor_throws() throws Exception {

    final OakMachine.RepoInitProcessor processor =
            DefaultRepoInitFactory.bindParser(
                    new ParserType(reader -> {
                        throw new RepoInitParsingException("expected error", null);
                    }));
    processor.apply(null, new StringReader(""));
}