@Test public void createJoker() { Marble marble = new Marble(MarbleType.JOKER); assertThat(marble.getType()).isEqualTo(MarbleType.JOKER); }
public MarbleType getType() { return type; }
Marble implements Entity { public MarbleType getType() { return type; } }
Marble implements Entity { public MarbleType getType() { return type; } Marble(MarbleType type); }
Marble implements Entity { public MarbleType getType() { return type; } Marble(MarbleType type); MarbleType getType(); boolean isCompatible(Marble other); }
Marble implements Entity { public MarbleType getType() { return type; } Marble(MarbleType type); MarbleType getType(); boolean isCompatible(Marble other);  }