### Question:
StandFormatAtomicSignID implements SignIDProvider { @Override public String incrementAndGet() { int newSignID = provider.incrementAndGet(); return String.format("s%03d", newSignID); } StandFormatAtomicSignID();  StandFormatAtomicSignID(String maxSignID); @Override void setCurrentMaxSignId(String maxSignId); @Override String incrementAndGet(); @Override String get(); @Override int parse(String id); static int parseIndex(String id); static final Pattern IDPattern; }### Answer:
@Test public void incrementAndGet() { StandFormatAtomicSignID standFormatAtomicSignID = new StandFormatAtomicSignID(); String s = standFormatAtomicSignID.incrementAndGet(); assertEquals("s001", s); }
@Test public void constructTest(){ StandFormatAtomicSignID standFormatAtomicSignID = new StandFormatAtomicSignID("s776"); String s = standFormatAtomicSignID.incrementAndGet(); assertEquals("s777", s); }