@Test
public void testGetVersionInfoFromMissingFile() throws Exception {

    try {
        info.setBuildInformation(new VersionInfo("non-existant.file"));
        Assert.fail("Expected RuntimeException.");
    } catch (RuntimeException e) {
        // expected
    }
}