@Test public void basics() { FooId id = new FooId(123); assertEquals("incorrect value", 123, (int) id.id()); }
public T id() { return identifier; }
Identifier { public T id() { return identifier; } }
Identifier { public T id() { return identifier; } protected  Identifier(); protected  Identifier(T value); }
Identifier { public T id() { return identifier; } protected  Identifier(); protected  Identifier(T value); T id(); @Override int hashCode(); @Override boolean equals(Object obj); String toString(); }
Identifier { public T id() { return identifier; } protected  Identifier(); protected  Identifier(T value); T id(); @Override int hashCode(); @Override boolean equals(Object obj); String toString();  }