assertThat(specRunnerHtmlGeneratorFactory.create(ReporterType.HtmlReporter, mock, mock(ScriptResolver.class)), instanceOf(DefaultSpecRunnerHtmlGenerator.class));
}
@Test
public void shouldWrapIOException() throws IOException {
AbstractJasmineMojo mock = mock(AbstractJasmineMojo.class);
when(mock.getSpecRunnerTemplate()).thenReturn(SpecRunnerTemplate.DEFAULT);
ScriptResolver mock1 = mock(ScriptResolver.class);
// doThrow(new IOException("Foo")).when(mock1).resolveScripts();
try {
specRunnerHtmlGeneratorFactory.create(ReporterType.HtmlReporter, mock, mock1);
} catch (InstantiationError e) {