@Test
public void shouldHaveToString() throws Exception {

    String purchase = resourceAsString("purchase.json");
    Purchase p = new Purchase(INAPP, purchase, "signature");
    assertThat(p.toString()).startsWith("Purchase(type:inapp)");
}