Beispiel #1
0
 public function testProductsResourceInitialState()
 {
     $Resource = new PurchasesResource();
     $this->assertEquals(0, $Resource->getConsumptionState());
     $this->assertEmpty($Resource->getDeveloperPayload());
     $this->assertEmpty($Resource->getKind());
     $this->assertEquals(PurchasesResource::ORDER_UNKNOWN, $Resource->getPurchaseState());
     $this->assertEquals(0, $Resource->getPurchaseTimeMillis());
     $this->assertFalse($Resource->isCancelled());
     $this->assertFalse($Resource->isConsumed());
     $this->assertFalse($Resource->isPurchased());
 }