### Question:
BuildServiceImpl implements BuildService { @Override public void build(DataSetContext context, long organismId) throws DatamartException { try { setNotOk(context); buildGenericDb(context, organismId); buildLuceneIndex(context, organismId); buildEngineData(context, organismId); setOk(context); } catch (Exception e) { throw new DatamartException("failed to build dataset", e); } }  @Override void delete(DataSetContext context); @Override void refresh(DataSetContext context, long organismId); @Override void build(DataSetContext context, long organismId); DatamartToGenericDb getDm2gdb(); void setDm2gdb(DatamartToGenericDb dm2gdb); DatamartDb getDmdb(); void setDmdb(DatamartDb dmdb); List<Long> loadNodeIds(NodeCursor cursor, ProgressReporter progress); static IMania getMania(DataSetContext context, boolean memCacheEnabled); void resourceToFile(String resourceName, String outputPath); boolean isOk(DataSetContext context); void setOk(DataSetContext context); void setNotOk(DataSetContext context);  }### Answer:
@Test public void testBuild() throws Exception { DataSetContext context = dataSetManagerService.getContext(testDataBuilder.testOrganismId); builder.build(context, testDataBuilder.testOrganismId); }