ConstantSupplier implements Supplier<A>, Serializable { public A get() { return this.a; } ConstantSupplier(final A a); A get();  }
@Test public void shouldSupplyConstant() { assertEquals("test", constant.get()); }
@Test public void shouldSupplySameConstantOnEachInvocation() { final String l1 = constant.get(); final String l2 = constant.get(); final String l3 = constant.get(); assertSame(l1, l2); assertSame(l1, l3); assertSame(l2, l3); }