@Test public void testApply() throws Exception { underTest.apply(); File markerFile = new File(applicationDirectories.getWorkDirectory("db"), PyPiUpgrade_1_2.MARKER_FILE); assertTrue(markerFile.exists()); }
@Override public void apply() throws Exception { if (!Files.exists(markerFile)) { Files.createFile(markerFile); } }
PyPiUpgrade_1_2 extends DatabaseUpgradeSupport { @Override public void apply() throws Exception { if (!Files.exists(markerFile)) { Files.createFile(markerFile); } } }
PyPiUpgrade_1_2 extends DatabaseUpgradeSupport { @Override public void apply() throws Exception { if (!Files.exists(markerFile)) { Files.createFile(markerFile); } } @Inject  PyPiUpgrade_1_2(final ApplicationDirectories directories); }
PyPiUpgrade_1_2 extends DatabaseUpgradeSupport { @Override public void apply() throws Exception { if (!Files.exists(markerFile)) { Files.createFile(markerFile); } } @Inject  PyPiUpgrade_1_2(final ApplicationDirectories directories); @Override void apply(); }
PyPiUpgrade_1_2 extends DatabaseUpgradeSupport { @Override public void apply() throws Exception { if (!Files.exists(markerFile)) { Files.createFile(markerFile); } } @Inject  PyPiUpgrade_1_2(final ApplicationDirectories directories); @Override void apply(); static final String MARKER_FILE; }