Assert.assertEquals(DRAFT, cs1.phase());
Assert.assertEquals(DRAFT, cs2.phase());
PhaseCommand cmd = PhaseCommand.on(repo).pub().rev(cs2.getNode());
cmd.execute();
Assert.assertEquals(PUBLIC, cs1.phase());
Assert.assertEquals(PUBLIC, cs2.phase());
cmd = PhaseCommand.on(repo).secret().rev(cs2.getNode());
Assert.assertFalse(cmd.execute());
Assert.assertEquals(PUBLIC, cs1.phase());
Assert.assertEquals(PUBLIC, cs2.phase());