@Test
public void throwsExceptionIfDriverIsNotSet() throws IOException {

    ExecutorDependencies executorDependencies = new ExecutorDependencies();
    expectedException.expect(IOException.class);
    executorDependencies.getPathToDriverExecutable();
}