@Test public void test() { Assert.assertEquals("thebestsecretkey", new ConstantKeyProvider().getKey(null)); Assert.assertEquals("thebestsecretkey", new ConstantKeyProvider().getKey(new SessionBlob())); }
@Override public String getKey(SessionBlob blob) { return "thebestsecretkey"; }
ConstantKeyProvider implements IKeyProvider { @Override public String getKey(SessionBlob blob) { return "thebestsecretkey"; } }
ConstantKeyProvider implements IKeyProvider { @Override public String getKey(SessionBlob blob) { return "thebestsecretkey"; }  }
ConstantKeyProvider implements IKeyProvider { @Override public String getKey(SessionBlob blob) { return "thebestsecretkey"; }  @Override String getKey(SessionBlob blob); }
ConstantKeyProvider implements IKeyProvider { @Override public String getKey(SessionBlob blob) { return "thebestsecretkey"; }  @Override String getKey(SessionBlob blob);  }