@Test
public void runLoadFlowMock() {

    platformConfig.createModuleConfig("loadflow-validation").setStringProperty("load-flow-name", "LoadFlowMock");
    Network network = EurostagTutorialExample1Factory.create();
    CandidateComputation computation = CandidateComputations.getComputation("loadflow").orElseGet(failure());
    assertNotNull(computation);
    assertEquals("loadflow", computation.getName());
    computation.run(network, Mockito.mock(ComputationManager.class));
    assertEquals(92f, network.getGenerator("GEN").getTerminal().getP(), 0f);
}