Skip to content

Commit

Permalink
Increasing test coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
aperdomo committed Mar 24, 2016
1 parent 3aa2f81 commit 6445e99
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/Message/DeleteProfileCardRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,14 @@ public function testHttpMethod()
{
$this->assertSame('DELETE', $this->request->getHttpMethod());
}

public function testGetData()
{
$this->assertSame($this->request, $this->request->setProfileId('1'));
$this->assertSame($this->request, $this->request->setCardId('2'));
$this->assertSame('1', $this->request->getProfileId());
$this->assertSame('2', $this->request->getCardId());
$this->assertNull($this->request->getData());
$this->assertSame('DELETE', $this->request->getHttpMethod());
}
}

0 comments on commit 6445e99

Please sign in to comment.