@Test
public void shouldFindSpecsInResults() throws Exception {
doNothing().when(FileUtils.class);
FileUtils.writeStringToFile(this.file, "<xml/>", "UTF-8");
JasmineResult result = this.subject.execute(this.resource, this.file, driver, 300, false, this.log, null);
assertThat(result,is(not(nullValue())));
assertThat(result.getDescription(),containsString("kaka"));
assertThat(result.getDetails(),containsString("pants"));
assertThat(result.didPass(),is(false));
verifyStatic();
FileUtils.writeStringToFile(this.file, "<xml/>", "UTF-8");
}