BusinessCentralDMODataManagementStrategy extends AbstractDMODataManagementStrategy { @Override protected void getSuperType(String factType, Callback<String> callback) { oracle.getSuperType(factType, callback); } BusinessCentralDMODataManagementStrategy(final AsyncPackageDataModelOracleFactory oracleFactory); @Override void manageScenarioSimulationModelContent(ObservablePath currentPath, ScenarioSimulationModelContent toManage); @Override boolean isADataType(String value); AsyncPackageDataModelOracle getOracle();  }
@Test public void getSuperType() { Callback<String> superTypeCallbackMock = mock(Callback.class); businessCentralDmoDataManagementStrategySpy.getSuperType("factType", superTypeCallbackMock); verify(oracleMock, times(1)).getSuperType(eq("factType"), eq(superTypeCallbackMock)); }