Skip to content

Commit

Permalink
Improves tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Oct 12, 2019
1 parent 170d1dc commit 8aa16ff
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@ public function it_can_retrieve_transaction_instance()
$this->assertInstanceOf('Billplz\Three\Bill\Transaction', $transaction);
}

/** @test */
public function it_can_retrieve_payout_collection_instance()
{
$client = $this->makeClient();

$payoutCollection = $client->payoutCollection('v4');

$this->assertInstanceOf('Billplz\Four\Collection\Payout', $payoutCollection);
$this->assertInstanceOf('Billplz\Contracts\Collection\Payout', $payoutCollection);
}

/** @test */
public function it_can_retrieve_mass_payment_collection_instance()
{
Expand All @@ -98,6 +109,17 @@ public function it_can_retrieve_mass_payment_collection_instance()
$this->assertInstanceOf('Billplz\Four\Collection\MassPayment', $massPaymentCollection);
}

/** @test */
public function it_can_retrieve_payout_instance()
{
$client = $this->makeClient();

$payout = $client->payout('v4');

$this->assertInstanceOf('Billplz\Four\Payout', $payout);
$this->assertInstanceOf('Billplz\Contracts\Payout', $payout);
}

/** @test */
public function it_can_retrieve_mass_payment_instance()
{
Expand Down

0 comments on commit 8aa16ff

Please sign in to comment.