예제 #1
0
  @Test
  public void getSmallRedToyDescription() {

    String description = client.getSmallRedToyDescription(new CarToy());

    Assert.assertEquals("name: Car | color: red | size: small | ", description);
  }
예제 #2
0
  @Test
  public void getBigBlueToyDescription() {

    String description = client.getBigBlueToyDescription(new BearToy());

    Assert.assertEquals("name: Bear | color: blue | size: big | ", description);
  }