### Question:
Sha1HashCommand extends SaltedHasherCommand { @Override public String getName() { return SHA1; }  @Override byte[] hash( byte[] input, CredentialsInfo info, UUID userId, UUID applicationId ); @Override byte[] auth( byte[] input, CredentialsInfo info, UUID userId, UUID applicationId ); @Override String getName();  }### Answer:
@Test public void testLegacyName() { Sha1HashCommand command = new Sha1HashCommand(); assertEquals( "sha-1", command.getName() ); }