### Question:
BuildState { public String getShortName(BuildStateEnum state) { return state.getShortName(); } BuildState(); Set<BuildStateEnum> getStateSet(); boolean enabled(BuildStateEnum currentBuildState); boolean enabled(BuildStateEnum currentBuildState, boolean success, boolean changed); static BuildStateEnum getEffectiveState(BuildStateEnum currentBuildState, boolean success, boolean changed); void setEnabled(BuildStateEnum currentBuildState, boolean enabled); BuildState setAllEnabled(); void enable(BuildStateEnum currentBuildState); void disable(BuildStateEnum currentBuildState); String getShortName(BuildStateEnum state); String getDescriptionSuffix(BuildStateEnum state); boolean allEnabled(); boolean noneEnabled();  }### Answer:
@Test public void testGetShortName() { BuildState state = new BuildState(); String shortname1 = BuildStateEnum.BUILD_SUCCESSFUL.getShortName(); String shortname2 = state.getShortName(BuildStateEnum.BUILD_SUCCESSFUL); assertTrue(shortname1.equals(shortname2)); }